From fbe614a61bb55bf1f0ca917600494438e5551a02 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 2 Nov 2021 14:41:32 +0100 Subject: [PATCH] Fix bean type visibility See gh-28437 --- .../web/reactive/server/WebTestClientContextCustomizer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/reactive/server/WebTestClientContextCustomizer.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/reactive/server/WebTestClientContextCustomizer.java index e03aac4e499..77e7c89fe73 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/reactive/server/WebTestClientContextCustomizer.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/reactive/server/WebTestClientContextCustomizer.java @@ -93,8 +93,7 @@ class WebTestClientContextCustomizer implements ContextCustomizer { * {@link ConfigurationClassPostProcessor} and add a {@link WebTestClientFactory} bean * definition when a {@link WebTestClient} hasn't already been registered. */ - private static class WebTestClientRegistrar - implements BeanDefinitionRegistryPostProcessor, Ordered, BeanFactoryAware { + static class WebTestClientRegistrar implements BeanDefinitionRegistryPostProcessor, Ordered, BeanFactoryAware { private BeanFactory beanFactory;