SEC-2468: Fix tests

This commit is contained in:
Rob Winch 2014-02-15 14:25:46 -06:00
parent 65367e6547
commit fc8e4868ce
1 changed files with 1 additions and 1 deletions

View File

@ -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"));
}