summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-01-19 00:28:08 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-01-19 00:28:08 +0000
commit81d037dbd8c6616b33339f198f70134f73bbff5f (patch)
tree098eb92831f052a46d4ad62b416aa4af2cfde040
parentadd registrations_require_3pid (diff)
downloadsynapse-81d037dbd8c6616b33339f198f70134f73bbff5f.tar.xz
mock registrations_require_3pid
-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 096f771bea..8aba456510 100644
--- a/tests/rest/client/v2_alpha/test_register.py
+++ b/tests/rest/client/v2_alpha/test_register.py
@@ -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