summary refs log tree commit diff
path: root/tests/handlers/test_register.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2019-02-20 07:47:31 +0000
committerAmber Brown <hawkowl@atleastfornow.net>2019-02-20 18:47:31 +1100
commitdbdc565dfdca0e689f816b7614dea6530cd54843 (patch)
treeff0717180b6b722527890862cc3fb46d09522f72 /tests/handlers/test_register.py
parentRun unit tests against python 3.7 (#4677) (diff)
downloadsynapse-dbdc565dfdca0e689f816b7614dea6530cd54843.tar.xz
Fix registration on workers (#4682)
* Move RegistrationHandler init to HomeServer

* Move post registration actions to RegistrationHandler

* Add post regisration replication endpoint

* Newsfile
Diffstat (limited to 'tests/handlers/test_register.py')
-rw-r--r--tests/handlers/test_register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_register.py b/tests/handlers/test_register.py
index eb70e1daa6..c9c1506273 100644
--- a/tests/handlers/test_register.py
+++ b/tests/handlers/test_register.py
@@ -48,7 +48,7 @@ class RegistrationTestCase(unittest.TestCase):
             generate_access_token=Mock(return_value='secret')
         )
         self.hs.get_macaroon_generator = Mock(return_value=self.macaroon_generator)
-        self.handler = self.hs.get_handlers().registration_handler
+        self.handler = self.hs.get_registration_handler()
         self.store = self.hs.get_datastore()
         self.hs.config.max_mau_value = 50
         self.lots_of_users = 100