Skip to content

Commit 7521444

Browse files
committed
Patch on /{id} endpoint instead of /slug/{slug}
1 parent 3eec8ef commit 7521444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

competition/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def test_permission_get(self):
336336

337337
def test_permission_update(self):
338338
''' update permission OK'''
339-
self.check_permissions(self.URL_PREFIX + '/slug/strom/', 'PUT',
339+
self.check_permissions(self.URL_PREFIX + '/0/', 'PUT',
340340
self.ONLY_STROM_OK_RESPONSES,
341341
{
342342
"id": 0,

0 commit comments

Comments
 (0)