diff --git a/beta_product/tests.py b/beta_product/tests.py index 9f29cea..b163b39 100644 --- a/beta_product/tests.py +++ b/beta_product/tests.py @@ -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):