From 086c20bddc4c205af2faef72023990cb4cd2bb5e Mon Sep 17 00:00:00 2001 From: starnakin Date: Thu, 30 Nov 2023 13:41:31 +0100 Subject: [PATCH] change delete method in tests --- accounts/tests/delete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/tests/delete.py b/accounts/tests/delete.py index 950ac04..f7cfc47 100644 --- a/accounts/tests/delete.py +++ b/accounts/tests/delete.py @@ -21,7 +21,7 @@ class DeleteTest(TestCase): def test_normal_delete(self): - response: HttpResponse = self.client.post(self.url) + response: HttpResponse = self.client.delete(self.url) response_text: str = response.content.decode("utf-8") self.assertEqual(response_text, '"user deleted"')