Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Update unit test for already set password to return 400, rather than 410
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran committed Nov 7, 2023
1 parent 30684ab commit cda6200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beta_product/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def test_set_password_already_set(self):
{"password": "test1234"},
)

self.assertEqual(response.status_code, status.HTTP_410_GONE)
self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
self.assertEqual(response.data, {})

def test_set_password_invalid_identifier(self):
Expand Down

0 comments on commit cda6200

Please sign in to comment.