mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-09 06:50:05 +00:00
Fix broken test
This commit is contained in:
parent
9a337d2fea
commit
f7cb31a301
@ -341,7 +341,7 @@ public class DaoAuthenticationProviderTests extends TestCase {
|
||||
provider.authenticate(token);
|
||||
fail("Should have thrown AuthenticationServiceException");
|
||||
} catch (AuthenticationServiceException expected) {
|
||||
assertEquals("AuthenticationDao returned null, which is an interface contract violation",
|
||||
assertEquals("UserDetailsService returned null, which is an interface contract violation",
|
||||
expected.getMessage());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user