diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-01-19 00:28:08 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-01-19 00:28:08 +0000 |
commit | 81d037dbd8c6616b33339f198f70134f73bbff5f (patch) | |
tree | 098eb92831f052a46d4ad62b416aa4af2cfde040 | |
parent | add registrations_require_3pid (diff) | |
download | synapse-81d037dbd8c6616b33339f198f70134f73bbff5f.tar.xz |
mock registrations_require_3pid
-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 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 |