summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-06-24 11:45:11 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-06-24 15:42:31 +0100
commitbfe84e051e8472a1c3534e1287f1fb727df63259 (patch)
tree519b95c690cf4c6c81eb9c22bcbb4773ba7e894b /tests
parentPass config_dir_path and data_dir_path into Config.read_config. (#5522) (diff)
downloadsynapse-bfe84e051e8472a1c3534e1287f1fb727df63259.tar.xz
Split public rooms directory auth config in two
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/client/v1/test_rooms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/v1/test_rooms.py b/tests/rest/client/v1/test_rooms.py
index 2e3a765bf3..fe741637f5 100644
--- a/tests/rest/client/v1/test_rooms.py
+++ b/tests/rest/client/v1/test_rooms.py
@@ -920,7 +920,7 @@ class PublicRoomsRestrictedTestCase(unittest.HomeserverTestCase):
         self.url = b"/_matrix/client/r0/publicRooms"
 
         config = self.default_config()
-        config["restrict_public_rooms_to_local_users"] = True
+        config["allow_public_rooms_without_auth"] = False
         self.hs = self.setup_test_homeserver(config=config)
 
         return self.hs