mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-08 21:22:18 +00:00
Message string changed to reflect class name changes.
This commit is contained in:
parent
affa500778
commit
2f53f0e7d7
@ -333,7 +333,7 @@ public class DigestProcessingFilterTests extends MockObjectTestCase {
|
|||||||
assertNull(SecurityContextHolder.getContext().getAuthentication());
|
assertNull(SecurityContextHolder.getContext().getAuthentication());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testStartupDetectsMissingAuthenticationDao()
|
public void testStartupDetectsMissingUserDetailsService()
|
||||||
throws Exception {
|
throws Exception {
|
||||||
try {
|
try {
|
||||||
DigestProcessingFilter filter = new DigestProcessingFilter();
|
DigestProcessingFilter filter = new DigestProcessingFilter();
|
||||||
@ -341,7 +341,7 @@ public class DigestProcessingFilterTests extends MockObjectTestCase {
|
|||||||
filter.afterPropertiesSet();
|
filter.afterPropertiesSet();
|
||||||
fail("Should have thrown IllegalArgumentException");
|
fail("Should have thrown IllegalArgumentException");
|
||||||
} catch (IllegalArgumentException expected) {
|
} catch (IllegalArgumentException expected) {
|
||||||
assertEquals("An AuthenticationDao is required",
|
assertEquals("A UserDetailsService is required",
|
||||||
expected.getMessage());
|
expected.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user