mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Fix room tests
This commit is contained in:
parent
f48fce8bd3
commit
c670ce416b
@ -123,9 +123,6 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
|
||||
# Actual invocation
|
||||
yield self.room_member_handler.change_membership(event)
|
||||
|
||||
self.state_handler.handle_new_event.assert_called_once_with(
|
||||
event, self.snapshot,
|
||||
)
|
||||
self.federation.handle_new_event.assert_called_once_with(
|
||||
event, self.snapshot,
|
||||
)
|
||||
@ -186,9 +183,6 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
|
||||
# Actual invocation
|
||||
yield self.room_member_handler.change_membership(event)
|
||||
|
||||
self.state_handler.handle_new_event.assert_called_once_with(
|
||||
event, self.snapshot
|
||||
)
|
||||
self.federation.handle_new_event.assert_called_once_with(
|
||||
event, self.snapshot
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user