mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-11-20 20:17:53 +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}"}
|
self.valid_headers = {"HTTP_AUTHORIZATION": f"Bearer {token}"}
|
||||||
|
|
||||||
def get_url(self, competition_id):
|
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):
|
def test_get_competition_success(self):
|
||||||
response = self.client.get(
|
response = self.client.get(
|
||||||
|
|||||||
Reference in new issue
Block a user