1
0
mirror of synced 2026-08-04 09:17:02 +00:00

Message string changed to reflect class name changes.

This commit is contained in:
Luke Taylor
2006-01-05 01:11:45 +00:00
parent affa500778
commit 2f53f0e7d7
@@ -333,7 +333,7 @@ public class DigestProcessingFilterTests extends MockObjectTestCase {
assertNull(SecurityContextHolder.getContext().getAuthentication());
}
public void testStartupDetectsMissingAuthenticationDao()
public void testStartupDetectsMissingUserDetailsService()
throws Exception {
try {
DigestProcessingFilter filter = new DigestProcessingFilter();
@@ -341,7 +341,7 @@ public class DigestProcessingFilterTests extends MockObjectTestCase {
filter.afterPropertiesSet();
fail("Should have thrown IllegalArgumentException");
} catch (IllegalArgumentException expected) {
assertEquals("An AuthenticationDao is required",
assertEquals("A UserDetailsService is required",
expected.getMessage());
}
}