forked from Github-Mirrors/canaille
tests: attempt to fix the token creation audience assertion
This commit is contained in:
parent
2aeeaec3e4
commit
bbacb1703c
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ def test_client_new_token(testclient, logged_admin, backend, client):
|
|||
assert not token.subject
|
||||
assert token.type == "access_token"
|
||||
assert token.scope == client.scope
|
||||
assert token.audience == client.audience
|
||||
assert client in token.audience
|
||||
|
||||
res = res.follow()
|
||||
assert res.template == "token_view.html"
|
||||
|
|
Loading…
Reference in a new issue