Fix broken test
This commit is contained in:
parent
9a337d2fea
commit
f7cb31a301
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue