mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-11 09:32:42 -05:00
Remove the deprecated Handlers object (#8494)
All handlers now available via get_*_handler() methods on the HomeServer.
This commit is contained in:
parent
a93f3121f8
commit
c9c0ad5e20
40 changed files with 116 additions and 157 deletions
|
|
@ -78,7 +78,7 @@ class RoomTestCase(_ShadowBannedBase):
|
|||
|
||||
def test_invite_3pid(self):
|
||||
"""Ensure that a 3PID invite does not attempt to contact the identity server."""
|
||||
identity_handler = self.hs.get_handlers().identity_handler
|
||||
identity_handler = self.hs.get_identity_handler()
|
||||
identity_handler.lookup_3pid = Mock(
|
||||
side_effect=AssertionError("This should not get called")
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue