mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Remove spurious mocking of complete_sso_login
The tests that need this all do it already.
This commit is contained in:
parent
2dd2e90e2b
commit
c1883f042d
@ -796,8 +796,6 @@ class OidcHandlerTestCase(HomeserverTestCase):
|
|||||||
self.handler._exchange_code = simple_async_mock(return_value={})
|
self.handler._exchange_code = simple_async_mock(return_value={})
|
||||||
self.handler._parse_id_token = simple_async_mock(return_value=userinfo)
|
self.handler._parse_id_token = simple_async_mock(return_value=userinfo)
|
||||||
self.handler._fetch_userinfo = 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"
|
state = "state"
|
||||||
session = self.handler._generate_oidc_session_token(
|
session = self.handler._generate_oidc_session_token(
|
||||||
|
Loading…
Reference in New Issue
Block a user