浏览代码

Fix broken test

Carlos Sanchez 19 年之前
父节点
当前提交
f7cb31a301

+ 1 - 1
core/src/test/java/org/acegisecurity/providers/dao/DaoAuthenticationProviderTests.java

@@ -341,7 +341,7 @@ public class DaoAuthenticationProviderTests extends TestCase {
             provider.authenticate(token);
             provider.authenticate(token);
             fail("Should have thrown AuthenticationServiceException");
             fail("Should have thrown AuthenticationServiceException");
         } catch (AuthenticationServiceException expected) {
         } 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());
                 expected.getMessage());
         }
         }
     }
     }