summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-12-15 23:00:03 +0000
committerRichard van der Hoff <richard@matrix.org>2020-12-15 23:10:59 +0000
commitc1883f042d4e6d69e4c211bcad5d65da5123f33d (patch)
treeb671b0b99c434ff18cde2ab26e333f655aeec807 /tests/handlers
parentTest `get_extra_attributes` fallback (diff)
downloadsynapse-c1883f042d4e6d69e4c211bcad5d65da5123f33d.tar.xz
Remove spurious mocking of complete_sso_login
The tests that need this all do it already.
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_oidc.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/handlers/test_oidc.py b/tests/handlers/test_oidc.py
index 1794a169e0..bd24375018 100644
--- a/tests/handlers/test_oidc.py
+++ b/tests/handlers/test_oidc.py
@@ -796,8 +796,6 @@ class OidcHandlerTestCase(HomeserverTestCase):
         self.handler._exchange_code = simple_async_mock(return_value={})
         self.handler._parse_id_token = simple_async_mock(return_value=userinfo)
         self.handler._fetch_userinfo = simple_async_mock(return_value=userinfo)
-        auth_handler = self.hs.get_auth_handler()
-        auth_handler.complete_sso_login = simple_async_mock()
 
         state = "state"
         session = self.handler._generate_oidc_session_token(