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 6558ce2a711..6e2f14ec0ea 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.WebClient"; + private static final String WEB_TEST_CLIENT_CLASS = "org.springframework.web.reactive.function.client.WebTestClient"; @Override public ContextCustomizer createContextCustomizer(Class testClass,