change delete method in tests

This commit is contained in:
starnakin 2023-11-30 13:41:31 +01:00
parent a9cdde963d
commit 086c20bddc

View File

@ -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"')