mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-08 13:12:12 +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());
|
||||
}
|
||||
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user