Skip to content
Snippets Groups Projects
Commit 81d037db authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

mock registrations_require_3pid

parent 28a6ccb4
Branches
Tags
No related merge requests found
......@@ -49,6 +49,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.registrations_require_3pid = []
self.hs.config.auto_join_rooms = []
# init the thing we're testing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment