mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-09 06:50:05 +00:00
SEC-2468: Fix tests
This commit is contained in:
parent
65367e6547
commit
fc8e4868ce
@ -169,7 +169,7 @@ public class JdbcUserDetailsManagerTests {
|
||||
Authentication newAuth = SecurityContextHolder.getContext().getAuthentication();
|
||||
assertEquals("joe", newAuth.getName());
|
||||
assertEquals(currentAuth.getDetails(), newAuth.getDetails());
|
||||
assertEquals("newPassword", newAuth.getCredentials());
|
||||
assertThat(newAuth.getCredentials()).isNull();
|
||||
assertFalse(cache.getUserMap().containsKey("joe"));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user