diff --git a/core/src/test/java/org/acegisecurity/providers/dao/DaoAuthenticationProviderTests.java b/core/src/test/java/org/acegisecurity/providers/dao/DaoAuthenticationProviderTests.java index 74919b7a1b..9a35690cb4 100644 --- a/core/src/test/java/org/acegisecurity/providers/dao/DaoAuthenticationProviderTests.java +++ b/core/src/test/java/org/acegisecurity/providers/dao/DaoAuthenticationProviderTests.java @@ -341,7 +341,7 @@ public class DaoAuthenticationProviderTests extends TestCase { provider.authenticate(token); fail("Should have thrown AuthenticationServiceException"); } catch (AuthenticationServiceException expected) { - assertEquals("AuthenticationDao returned null, which is an interface contract violation", + assertEquals("UserDetailsService returned null, which is an interface contract violation", expected.getMessage()); } }