mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 14:27:10 +00:00
fix competitions tests
This commit is contained in:
@@ -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