Use meaningful name for MockServerConfigurer bean

Closes gh-14512
pull/14514/head
Johnny Lim 6 years ago committed by Stephane Nicoll
parent 6164c9e8b6
commit fd97f07209

@ -33,7 +33,7 @@ import org.springframework.test.web.reactive.server.MockServerConfigurer;
class WebTestClientSecurityConfiguration { class WebTestClientSecurityConfiguration {
@Bean @Bean
public MockServerConfigurer get() { public MockServerConfigurer mockServerConfigurer() {
return SecurityMockServerConfigurers.springSecurity(); return SecurityMockServerConfigurers.springSecurity();
} }

Loading…
Cancel
Save