Skip to content

Commit

Permalink
Patch on /{id} endpoint instead of /slug/{slug}
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacspe committed Dec 8, 2023
1 parent cfb5258 commit ee281a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion competition/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ee281a3

Please sign in to comment.