mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-12 13:23:29 +00:00
Polish Tests
Issue gh-17298
This commit is contained in:
parent
242956a63c
commit
19e88f5e35
@ -241,8 +241,7 @@ public class AuthenticationManagerBuilderTests {
|
||||
|
||||
@Bean
|
||||
AuthenticationProvider authenticationProvider() throws Exception {
|
||||
DaoAuthenticationProvider provider = new DaoAuthenticationProvider(userDetailsService());
|
||||
return provider;
|
||||
return new DaoAuthenticationProvider(userDetailsService());
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
Loading…
x
Reference in New Issue
Block a user