mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Use meaningful name for MockServerConfigurer bean
Closes gh-14512
This commit is contained in:
parent
6164c9e8b6
commit
fd97f07209
@ -33,7 +33,7 @@ import org.springframework.test.web.reactive.server.MockServerConfigurer;
|
||||
class WebTestClientSecurityConfiguration {
|
||||
|
||||
@Bean
|
||||
public MockServerConfigurer get() {
|
||||
public MockServerConfigurer mockServerConfigurer() {
|
||||
return SecurityMockServerConfigurers.springSecurity();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user