SEC-1981: Remove dependency on Locale for the build

This commit is contained in:
Rob Winch 2012-07-03 13:09:46 -05:00
parent a2452ab514
commit f2345fcb21
2 changed files with 1 additions and 2 deletions

View File

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

View File

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