Use WebTestClientBuilderCustomizer

MSAL

org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientBuilderCustomizer was deprecated in 2.2.

org.openrewrite.java.spring.boot2.MigrateWebTestClientBuilderCustomizerPackageName
mod run . --recipe=org.openrewrite.java.spring.boot2.MigrateWebTestClientBuilderCustomizerPackageName

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change type org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientBuilderCustomizer to org.springframework.boot.test.web.reactive.server.WebTestClientBuilderCustomizer