diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-06-14 16:25:18 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-06-14 16:25:18 +0100 |
commit | c7964e7430a71100c7bdc8b04a6bd45e6cb80ea2 (patch) | |
tree | 07cc7f63e7adc03e37bd2ed666b3b975e7ecb154 /tests | |
parent | Don't send renewal emails to deactivated users (diff) | |
download | synapse-c7964e7430a71100c7bdc8b04a6bd45e6cb80ea2.tar.xz |
Fix test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rest/client/v2_alpha/test_register.py | 3 |
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()) |