Skip to content

Commit d516f92

Browse files
committed
fixed login in tests
1 parent 9eaf4fe commit d516f92

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/src/test/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,11 @@ def create(self, first_name):
228228
credentials["id"] = response["id"]
229229

230230
# Login
231-
grant_type = ""
232231
scope = ""
233232
client_id = ""
234233
client_secret = ""
235234
login = {
236-
"grant_type": grant_type,
235+
"grant_type": "password", # as per the OAuth2.0 spec, this is the only supported grant type
237236
"username": credentials["email"],
238237
"password": credentials["password"],
239238
"scope": scope,

0 commit comments

Comments
 (0)