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…
Reference in New Issue