API - refacto
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user