summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-05-25 12:59:04 +0100
committerGitHub <noreply@github.com>2022-05-25 12:59:04 +0100
commit4660d9fdcffc833ae4774ac7d162e63769373dc5 (patch)
tree3782f599708de9e95abbaf4dab02ca9da5dcea33 /tests
parentRemove user-visible groups/communities code (#12553) (diff)
downloadsynapse-4660d9fdcffc833ae4774ac7d162e63769373dc5.tar.xz
Fix up `state_store` naming (#12871)
Diffstat (limited to 'tests')
-rw-r--r--tests/handlers/test_federation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_federation.py b/tests/handlers/test_federation.py
index e95dfdce20..bef6c2b776 100644
--- a/tests/handlers/test_federation.py
+++ b/tests/handlers/test_federation.py
@@ -50,7 +50,7 @@ class FederationTestCase(unittest.FederatingHomeserverTestCase):
         hs = self.setup_test_homeserver(federation_http_client=None)
         self.handler = hs.get_federation_handler()
         self.store = hs.get_datastores().main
-        self.state_store = hs.get_storage().state
+        self.state_storage = hs.get_storage().state
         self._event_auth_handler = hs.get_event_auth_handler()
         return hs
 
@@ -334,7 +334,7 @@ class FederationTestCase(unittest.FederatingHomeserverTestCase):
         # mapping from (type, state_key) -> state_event_id
         assert most_recent_prev_event_id is not None
         prev_state_map = self.get_success(
-            self.state_store.get_state_ids_for_event(most_recent_prev_event_id)
+            self.state_storage.get_state_ids_for_event(most_recent_prev_event_id)
         )
         # List of state event ID's
         prev_state_ids = list(prev_state_map.values())