summary refs log tree commit diff
path: root/tests/rest/client/v2_alpha/test_auth.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-22 16:34:38 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-22 17:28:31 +0100
commit6714a091ea53055ca9abd8779cc92f967a4842d1 (patch)
tree4b94753c178f749cc9822928c0e1f57f7e70313e /tests/rest/client/v2_alpha/test_auth.py
parentMerge commit '3e4cdfe5d' into anoa/dinsic_release_1_31_0 (diff)
parentLand support for multiple OIDC providers (#9110) (diff)
downloadsynapse-6714a091ea53055ca9abd8779cc92f967a4842d1.tar.xz
Merge commit '9de6b9411' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'tests/rest/client/v2_alpha/test_auth.py')
-rw-r--r--tests/rest/client/v2_alpha/test_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/v2_alpha/test_auth.py b/tests/rest/client/v2_alpha/test_auth.py

index 3e8661f9b9..7728884bae 100644 --- a/tests/rest/client/v2_alpha/test_auth.py +++ b/tests/rest/client/v2_alpha/test_auth.py
@@ -475,7 +475,7 @@ class UIAuthTests(unittest.HomeserverTestCase): session_id = channel.json_body["session"] # do the OIDC auth, but auth as the wrong user - channel = self.helper.auth_via_oidc("wrong_user", ui_auth_session_id=session_id) + channel = self.helper.auth_via_oidc({"sub": "wrong_user"}, ui_auth_session_id=session_id) # that should return a failure message self.assertSubstring("We were unable to validate", channel.text_body)