add missing session_id to newly merged API tokens

and remove grant_type which is not a property of the tokens themselves
This commit is contained in:
Min RK
2021-04-12 13:01:15 +02:00
parent e504fa4bf5
commit ad9ebdd60f
6 changed files with 49 additions and 25 deletions

View File

@@ -277,7 +277,6 @@ async def test_get_self(app):
user=u.orm_user,
client=oauth_client,
token=token,
grant_type=orm.GrantType.authorization_code,
)
db.add(oauth_token)
db.commit()