Skip to content

Commit

Permalink
fix test test_post_should_not_login_if_user_is_not_active
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwojcik committed May 3, 2024
1 parent 886abbf commit 6bb6c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testproject/testapp/tests/test_token_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_post_should_not_login_if_user_is_not_active(self):

self.assert_status_equal(response, status.HTTP_400_BAD_REQUEST)
self.assertEqual(
response.data["non_field_errors"],
response.data["non_field_errors"][0],
settings.CONSTANTS.messages.INVALID_CREDENTIALS_ERROR,
)
self.assertFalse(self.signal_sent)
Expand Down

0 comments on commit 6bb6c1c

Please sign in to comment.