summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorJonathan de Jong <jonathan@automatia.nl>2022-05-30 11:05:31 +0200
committerGitHub <noreply@github.com>2022-05-30 10:05:31 +0100
commit6be4953b998e4e4b730192b40642d2ec7bb0d7ad (patch)
treea0f94bb0abc1fdd2510dba751994e77d3eb7c624 /tests/rest
parentLockStore: fix acquiring a lock via `LockStore.try_acquire_lock` (#12832) (diff)
downloadsynapse-6be4953b998e4e4b730192b40642d2ec7bb0d7ad.tar.xz
Mutual rooms: Remove dependency on user directory (#12836)
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/client/test_mutual_rooms.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/rest/client/test_mutual_rooms.py b/tests/rest/client/test_mutual_rooms.py
index 7b7d283bb6..a4327f7ace 100644
--- a/tests/rest/client/test_mutual_rooms.py
+++ b/tests/rest/client/test_mutual_rooms.py
@@ -36,12 +36,10 @@ class UserMutualRoomsTest(unittest.HomeserverTestCase):
 
     def make_homeserver(self, reactor: MemoryReactor, clock: Clock) -> HomeServer:
         config = self.default_config()
-        config["update_user_directory"] = True
         return self.setup_test_homeserver(config=config)
 
     def prepare(self, reactor: MemoryReactor, clock: Clock, hs: HomeServer) -> None:
         self.store = hs.get_datastores().main
-        self.handler = hs.get_user_directory_handler()
 
     def _get_mutual_rooms(self, token: str, other_user: str) -> FakeChannel:
         return self.make_request(