diff --git a/flashcards/tests/test_api.py b/flashcards/tests/test_api.py index 95efd2e..4e07a36 100644 --- a/flashcards/tests/test_api.py +++ b/flashcards/tests/test_api.py @@ -47,7 +47,7 @@ class LoginTests(APITestCase): response = self.client.post(url) self.assertEqual(response.status_code, HTTP_204_NO_CONTENT) - # since we're not logged in, we shouldn't be able to see this + # since we're not logged in, we should get a 401 response response = self.client.get('/api/users/me', format='json') self.assertEqual(response.status_code, HTTP_401_UNAUTHORIZED)