summary refs log tree commit diff
path: root/tests/rest/client/test_upgrade_room.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rest/client/test_upgrade_room.py')
-rw-r--r--tests/rest/client/test_upgrade_room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/test_upgrade_room.py b/tests/rest/client/test_upgrade_room.py
index a42388b26f..7f79336abc 100644
--- a/tests/rest/client/test_upgrade_room.py
+++ b/tests/rest/client/test_upgrade_room.py
@@ -32,7 +32,7 @@ class UpgradeRoomTest(unittest.HomeserverTestCase):
     ]
 
     def prepare(self, reactor, clock, hs: "HomeServer"):
-        self.store = hs.get_datastore()
+        self.store = hs.get_datastores().main
 
         self.creator = self.register_user("creator", "pass")
         self.creator_token = self.login(self.creator, "pass")