summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2023-06-13 13:22:06 -0700
committerGitHub <noreply@github.com>2023-06-13 13:22:06 -0700
commit553f2f53e7930d721d2070ffa45af6397f5ecb60 (patch)
tree3a6a53554176bf65125a2f98342c5cb082296d0f /tests/storage
parentFix MSC3983 support: only one OTK per device was returned through federation ... (diff)
downloadsynapse-553f2f53e7930d721d2070ffa45af6397f5ecb60.tar.xz
Replace `EventContext` fields `prev_group` and `delta_ids` with field `state_group_deltas` (#15233)
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_event_chain.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/storage/test_event_chain.py b/tests/storage/test_event_chain.py
index e39b63edac..48ebfadaab 100644
--- a/tests/storage/test_event_chain.py
+++ b/tests/storage/test_event_chain.py
@@ -401,7 +401,10 @@ class EventChainStoreTestCase(HomeserverTestCase):
             assert persist_events_store is not None
             persist_events_store._store_event_txn(
                 txn,
-                [(e, EventContext(self.hs.get_storage_controllers())) for e in events],
+                [
+                    (e, EventContext(self.hs.get_storage_controllers(), {}))
+                    for e in events
+                ],
             )
 
             # Actually call the function that calculates the auth chain stuff.