From fd97f072096de0ff83c2000e80df11cabd939594 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Wed, 19 Sep 2018 19:54:42 +0900 Subject: [PATCH] Use meaningful name for MockServerConfigurer bean Closes gh-14512 --- .../web/reactive/WebTestClientSecurityConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/reactive/WebTestClientSecurityConfiguration.java b/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/reactive/WebTestClientSecurityConfiguration.java index 0c09b66929..3dfb3c36d4 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/reactive/WebTestClientSecurityConfiguration.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/reactive/WebTestClientSecurityConfiguration.java @@ -33,7 +33,7 @@ import org.springframework.test.web.reactive.server.MockServerConfigurer; class WebTestClientSecurityConfiguration { @Bean - public MockServerConfigurer get() { + public MockServerConfigurer mockServerConfigurer() { return SecurityMockServerConfigurers.springSecurity(); }