API - refacto

This commit is contained in:
Sam
2022-06-19 20:04:42 +02:00
parent 6b497bd72f
commit 63af0b70d9
19 changed files with 119 additions and 116 deletions

View File

@@ -164,7 +164,7 @@ class TestGetSports(ApiTestCaseMixin):
oauth_client,
access_token,
_,
) = self.create_oauth_client_and_issue_token(
) = self.create_oauth2_client_and_issue_token(
app, user_1, scope=client_scope
)
@@ -304,7 +304,7 @@ class TestGetSport(ApiTestCaseMixin):
oauth_client,
access_token,
_,
) = self.create_oauth_client_and_issue_token(
) = self.create_oauth2_client_and_issue_token(
app, user_1, scope=client_scope
)
@@ -544,7 +544,7 @@ class TestUpdateSport(ApiTestCaseMixin):
oauth_client,
access_token,
_,
) = self.create_oauth_client_and_issue_token(
) = self.create_oauth2_client_and_issue_token(
app, user_1_admin, scope=client_scope
)