mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-11-20 22:37:50 +00:00
fix competitions tests
This commit is contained in:
1 parent
1136f7abb9
commit
fd01fbd903
1 file changed
+1
-1
@@ -35,7 +35,7 @@ class CompetitionEndpointTests(TestCase):
|
||||
self.valid_headers = {"HTTP_AUTHORIZATION": f"Bearer {token}"}
|
||||
|
||||
def get_url(self, competition_id):
|
||||
return f"/api/v1/competition/{competition_id}"
|
||||
return f"/api/v1/competitions/{competition_id}"
|
||||
|
||||
def test_get_competition_success(self):
|
||||
response = self.client.get(
|
||||
|
||||
Reference in new issue
Block a user