mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 08:04:50 -05:00
Finish renaming "context" to "room_id" in federation codebase
This commit is contained in:
parent
2408c4b0a4
commit
5fed042640
7 changed files with 62 additions and 99 deletions
|
|
@ -223,7 +223,7 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
|
|||
yield room_handler.change_membership(event, context)
|
||||
|
||||
self.federation.handle_new_event.assert_called_once_with(
|
||||
event, None, destinations=set()
|
||||
event, destinations=set()
|
||||
)
|
||||
|
||||
self.datastore.persist_event.assert_called_once_with(
|
||||
|
|
@ -301,7 +301,7 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
|
|||
yield room_handler.change_membership(event, context)
|
||||
|
||||
self.federation.handle_new_event.assert_called_once_with(
|
||||
event, None, destinations=set(['red'])
|
||||
event, destinations=set(['red'])
|
||||
)
|
||||
|
||||
self.datastore.persist_event.assert_called_once_with(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue