users with correct credentials but disabled are forbidden not unauthorized
This commit is contained in:
parent
3d2bb3a355
commit
2a91b1c06e
|
@ -214,7 +214,7 @@ class KcMasterTestCase(CompatTestCase):
|
||||||
self.assertFalse(user.enabled)
|
self.assertFalse(user.enabled)
|
||||||
|
|
||||||
# TODO(ja): test that you can't login
|
# TODO(ja): test that you can't login
|
||||||
self.assertRaises(client_exceptions.Unauthorized,
|
self.assertRaises(client_exceptions.Forbidden,
|
||||||
self._client,
|
self._client,
|
||||||
username=test_username,
|
username=test_username,
|
||||||
password='password')
|
password='password')
|
||||||
|
|
Loading…
Reference in New Issue