mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 04:34:53 -04:00
Fix unit tests
This commit is contained in:
parent
6ff8c87484
commit
e440e28456
2 changed files with 7 additions and 5 deletions
|
@ -230,10 +230,12 @@ class SlavedEventStoreTestCase(BaseSlavedStoreTestCase):
|
|||
state_handler = self.hs.get_state_handler()
|
||||
context = yield state_handler.compute_event_context(event)
|
||||
|
||||
for user_id, actions in push_actions:
|
||||
yield self.master_store.add_push_actions_to_staging(
|
||||
event.event_id, user_id, actions,
|
||||
)
|
||||
yield self.master_store.add_push_actions_to_staging(
|
||||
event.event_id, {
|
||||
user_id: actions
|
||||
for user_id, actions in push_actions
|
||||
},
|
||||
)
|
||||
|
||||
ordering = None
|
||||
if backfill:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue