diff options
author | David Baker <dave@matrix.org> | 2017-10-17 10:39:50 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2017-10-17 10:39:50 +0100 |
commit | 33122c5a1b3642712546bc290d591077ce4cc847 (patch) | |
tree | 28e487874eace6bc5e11c6aac3341be7abed0faa /tests/rest/client/v2_alpha | |
parent | pep8 (diff) | |
download | synapse-33122c5a1b3642712546bc290d591077ce4cc847.tar.xz |
Fix test
Diffstat (limited to 'tests/rest/client/v2_alpha')
-rw-r--r-- | tests/rest/client/v2_alpha/test_register.py | 1 |
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) |