Skip to content

Commit

Permalink
Merge pull request #17612 from nsoranzo/release_24.0_fix_test_oidc_lo…
Browse files Browse the repository at this point in the history
…gin_existing_user

[24.0] Fix ``test_oidc_login_existing_user`` test
  • Loading branch information
nsoranzo authored Mar 6, 2024
2 parents 5e05e00 + 11312a7 commit 3a8a124
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/oidc/test_auth_oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,10 @@ def test_oidc_login_existing_user(self):
parsed_url = parse.urlparse(response.url)
provider = parse.parse_qs(parsed_url.query)["connect_external_provider"][0]
assert "keycloak" == provider

# user should not have been logged in
response = self._get("users/current")
self._assert_status_code_is(response, 400)
assert "id" not in response.json()

def test_oidc_login_account_linkup(self):
# pre-create a user account manually
Expand Down

0 comments on commit 3a8a124

Please sign in to comment.