We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b327ea9 commit eddbfaeCopy full SHA for eddbfae
tests/test_authorization_code.py
@@ -851,9 +851,9 @@ def test_refresh_invalidates_old_tokens(self):
851
self.assertIsNotNone(refresh_token.revoked)
852
self.assertFalse(AccessToken.objects.filter(token=at).exists())
853
854
- def test_refresh_twice_with_same_token_returns_401(self):
+ def test_refresh_twice_with_same_token_returns_400(self):
855
"""
856
- Ensure that using a refresh token twice returns 401
+ Ensure that using a refresh token twice returns 400
857
858
self.client.login(username="test_user", password="123456")
859
authorization_code = self.get_auth()
0 commit comments