diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/reactive/WebTestClientContextCustomizerFactory.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/reactive/WebTestClientContextCustomizerFactory.java index 6e2f14ec0e..6558ce2a71 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/reactive/WebTestClientContextCustomizerFactory.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/reactive/WebTestClientContextCustomizerFactory.java @@ -32,7 +32,7 @@ import org.springframework.util.ClassUtils; */ public class WebTestClientContextCustomizerFactory implements ContextCustomizerFactory { - private static final String WEB_TEST_CLIENT_CLASS = "org.springframework.web.reactive.function.client.WebTestClient"; + private static final String WEB_TEST_CLIENT_CLASS = "org.springframework.web.reactive.function.client.WebClient"; @Override public ContextCustomizer createContextCustomizer(Class testClass,