summary refs log tree commit diff
path: root/tests/events/test_snapshot.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/events/test_snapshot.py')
-rw-r--r--tests/events/test_snapshot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/events/test_snapshot.py b/tests/events/test_snapshot.py
index ca27388ae8..defbc68c18 100644
--- a/tests/events/test_snapshot.py
+++ b/tests/events/test_snapshot.py
@@ -28,7 +28,7 @@ class TestEventContext(unittest.HomeserverTestCase):
     ]
 
     def prepare(self, reactor, clock, hs):
-        self.store = hs.get_datastore()
+        self.store = hs.get_datastores().main
         self.storage = hs.get_storage()
 
         self.user_id = self.register_user("u1", "pass")