From ee281a34e1bf3178ad3bda1ecaab5e91e994d432 Mon Sep 17 00:00:00 2001 From: kovacspe Date: Fri, 8 Dec 2023 21:18:00 +0100 Subject: [PATCH] Patch on /{id} endpoint instead of /slug/{slug} --- competition/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/competition/tests.py b/competition/tests.py index ef172ec7..4df28c50 100644 --- a/competition/tests.py +++ b/competition/tests.py @@ -336,7 +336,7 @@ def test_permission_get(self): def test_permission_update(self): ''' update permission OK''' - self.check_permissions(self.URL_PREFIX + '/slug/strom/', 'PUT', + self.check_permissions(self.URL_PREFIX + '/0/', 'PUT', self.ONLY_STROM_OK_RESPONSES, { "id": 0,