mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-04 20:39:22 +00:00
SEC-1981: Remove dependency on Locale for the build
This commit is contained in:
parent
a2452ab514
commit
f2345fcb21
@ -89,7 +89,6 @@ public class JdbcDaoImplTests extends TestCase {
|
||||
dao.loadUserByUsername("cooper");
|
||||
fail("Should have thrown UsernameNotFoundException");
|
||||
} catch (UsernameNotFoundException expected) {
|
||||
assertEquals("User cooper has no GrantedAuthority", expected.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -158,7 +158,7 @@ public class SwitchUserFilterTests {
|
||||
filter.doFilter(request, response, chain);
|
||||
verify(chain, never()).doFilter(request, response);
|
||||
|
||||
assertEquals("Authentication Failed: User is disabled", response.getErrorMessage());
|
||||
assertNotNull(response.getErrorMessage());
|
||||
|
||||
// Now check for the redirect
|
||||
request.setContextPath("/mywebapp");
|
||||
|
Loading…
x
Reference in New Issue
Block a user