Polish Tests
Issue gh-17298
This commit is contained in:
+1
-2
@@ -241,8 +241,7 @@ public class AuthenticationManagerBuilderTests {
|
||||
|
||||
@Bean
|
||||
AuthenticationProvider authenticationProvider() throws Exception {
|
||||
DaoAuthenticationProvider provider = new DaoAuthenticationProvider(userDetailsService());
|
||||
return provider;
|
||||
return new DaoAuthenticationProvider(userDetailsService());
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
Reference in New Issue
Block a user