users with correct credentials but disabled are forbidden not unauthorized

changes/73/3573/1
Jesse Andrews 12 years ago
parent 3d2bb3a355
commit 2a91b1c06e

@ -214,7 +214,7 @@ class KcMasterTestCase(CompatTestCase):
self.assertFalse(user.enabled)
# TODO(ja): test that you can't login
self.assertRaises(client_exceptions.Unauthorized,
self.assertRaises(client_exceptions.Forbidden,
self._client,
username=test_username,
password='password')

Loading…
Cancel
Save