mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 13:32:30 +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();
|
Authentication newAuth = SecurityContextHolder.getContext().getAuthentication();
|
||||||
assertEquals("joe", newAuth.getName());
|
assertEquals("joe", newAuth.getName());
|
||||||
assertEquals(currentAuth.getDetails(), newAuth.getDetails());
|
assertEquals(currentAuth.getDetails(), newAuth.getDetails());
|
||||||
assertEquals("newPassword", newAuth.getCredentials());
|
assertThat(newAuth.getCredentials()).isNull();
|
||||||
assertFalse(cache.getUserMap().containsKey("joe"));
|
assertFalse(cache.getUserMap().containsKey("joe"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user