diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-01-15 13:45:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 13:45:13 +0000 |
commit | 0dd2649c127e4eb538dfbf0c879bd66c9ff1599c (patch) | |
tree | f12fe3ea07eb230569c61183d90cb1dd94036c83 /tests/rest/client/v2_alpha | |
parent | Store an IdP ID in the OIDC session (#9109) (diff) | |
download | synapse-0dd2649c127e4eb538dfbf0c879bd66c9ff1599c.tar.xz |
Improve UsernamePickerTestCase (#9112)
* make the OIDC bits of the test work at a higher level - via the REST api instead of poking the OIDCHandler directly. * Move it to test_login.py, where I think it fits better.
Diffstat (limited to 'tests/rest/client/v2_alpha')
-rw-r--r-- | tests/rest/client/v2_alpha/test_auth.py | 2 |
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 50630106ad..3e8661f9b9 100644 --- a/tests/rest/client/v2_alpha/test_auth.py +++ b/tests/rest/client/v2_alpha/test_auth.py @@ -411,7 +411,7 @@ class UIAuthTests(unittest.HomeserverTestCase): # run the UIA-via-SSO flow session_id = channel.json_body["session"] channel = self.helper.auth_via_oidc( - remote_user_id=remote_user_id, ui_auth_session_id=session_id + {"sub": remote_user_id}, ui_auth_session_id=session_id ) # that should serve a confirmation page |