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

@@ -887,7 +887,7 @@ class TestGetStatsByTime(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
)
@@ -1068,7 +1068,7 @@ class TestGetStatsBySport(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
)
@@ -1187,7 +1187,7 @@ class TestGetAllStats(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
)