summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-06-14 16:25:18 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-06-14 16:25:18 +0100
commitc7964e7430a71100c7bdc8b04a6bd45e6cb80ea2 (patch)
tree07cc7f63e7adc03e37bd2ed666b3b975e7ecb154 /tests
parentDon't send renewal emails to deactivated users (diff)
downloadsynapse-c7964e7430a71100c7bdc8b04a6bd45e6cb80ea2.tar.xz
Fix test
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/client/v2_alpha/test_register.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rest/client/v2_alpha/test_register.py b/tests/rest/client/v2_alpha/test_register.py
index 81f8fb47c0..f56a34a41d 100644
--- a/tests/rest/client/v2_alpha/test_register.py
+++ b/tests/rest/client/v2_alpha/test_register.py
@@ -360,6 +360,7 @@ class AccountValidityRenewalByEmailTestCase(unittest.HomeserverTestCase):
         login.register_servlets,
         sync.register_servlets,
         account_validity.register_servlets,
+        account.register_servlets,
     ]
 
     def make_homeserver(self, reactor, clock):
@@ -466,7 +467,7 @@ class AccountValidityRenewalByEmailTestCase(unittest.HomeserverTestCase):
             access_token=tok,
         )
         self.render(request)
-        self.assertEqual(request.code, 200)
+        self.assertEqual(request.code, 200, channel.result)
 
         self.reactor.advance(datetime.timedelta(days=8).total_seconds())