pull/2545/head
David Baker 2017-10-17 10:39:50 +01:00
parent a9c2e930ac
commit 33122c5a1b
1 changed files with 1 additions and 0 deletions

View File

@ -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)