Skip to content

Commit

Permalink
fix oidc logout test
Browse files Browse the repository at this point in the history
which relied on receiving 400
  • Loading branch information
martenson committed Mar 17, 2024
1 parent a20c3de commit 4b1b600
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration/oidc/test_auth_oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ def test_oidc_logout(self):
response = session.get(response.json()["redirect_uri"], verify=False)
# make sure we can no longer request the user
response = session.get(self._api_url("users/current"))
self._assert_status_code_is(response, 400)
self._assert_status_code_is(response, 200)
assert "email" not in response.json()

def test_auth_by_access_token_logged_in_once(self):
# login at least once
Expand Down

0 comments on commit 4b1b600

Please sign in to comment.