summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2017-10-17 10:39:50 +0100
committerDavid Baker <dave@matrix.org>2017-10-17 10:39:50 +0100
commit33122c5a1b3642712546bc290d591077ce4cc847 (patch)
tree28e487874eace6bc5e11c6aac3341be7abed0faa /tests/rest
parentpep8 (diff)
downloadsynapse-33122c5a1b3642712546bc290d591077ce4cc847.tar.xz
Fix test
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/client/v2_alpha/test_register.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rest/client/v2_alpha/test_register.py b/tests/rest/client/v2_alpha/test_register.py
index b6173ab2ee..821c735528 100644
--- a/tests/rest/client/v2_alpha/test_register.py
+++ b/tests/rest/client/v2_alpha/test_register.py
@@ -47,6 +47,7 @@ class RegisterRestServletTestCase(unittest.TestCase):
         self.hs.get_auth_handler = Mock(return_value=self.auth_handler)
         self.hs.get_device_handler = Mock(return_value=self.device_handler)
         self.hs.config.enable_registration = True
+        self.hs.config.auto_join_rooms = []
 
         # init the thing we're testing
         self.servlet = RegisterRestServlet(self.hs)