Skip to content

Commit 0175708

Browse files
committed
tests: remove self-delete expectation (keep self-delete protection)
1 parent fb0b89c commit 0175708

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

backend/users/tests.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,3 @@ def test_update_user(self):
8282
response = self.client.put(f"/api/users/{self.user.id}/update/", data, format="json")
8383
self.assertEqual(response.status_code, status.HTTP_200_OK)
8484

85-
def test_delete_user(self):
86-
response = self.client.delete(f"/api/users/delete_user/{self.user.id}/")
87-
self.assertEqual(response.status_code, status.HTTP_204_NO_CONTENT)

0 commit comments

Comments
 (0)