0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-09-30 21:49:07 +02:00
This commit is contained in:
David Baker 2017-10-17 10:39:50 +01:00
parent a9c2e930ac
commit 33122c5a1b

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)