diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-06 08:09:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-06 08:09:55 -0400 |
commit | 66f24449dd614b23ea4c572d8d613efeb129e4a2 (patch) | |
tree | 73b60577aeee4054d5578e79af1cf13873355644 /tests/rest | |
parent | Fixup worker doc (again) (#8000) (diff) | |
download | synapse-66f24449dd614b23ea4c572d8d613efeb129e4a2.tar.xz |
Improve performance of the register endpoint (#8009)
Diffstat (limited to 'tests/rest')
-rw-r--r-- | tests/rest/client/v2_alpha/test_register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/v2_alpha/test_register.py b/tests/rest/client/v2_alpha/test_register.py index 7deaf5b24a..53a43038f0 100644 --- a/tests/rest/client/v2_alpha/test_register.py +++ b/tests/rest/client/v2_alpha/test_register.py @@ -116,8 +116,8 @@ class RegisterRestServletTestCase(unittest.HomeserverTestCase): self.assertEquals(channel.result["code"], b"200", channel.result) self.assertDictContainsSubset(det_data, channel.json_body) + @override_config({"enable_registration": False}) def test_POST_disabled_registration(self): - self.hs.config.enable_registration = False request_data = json.dumps({"username": "kermit", "password": "monkey"}) self.auth_result = (None, {"username": "kermit", "password": "monkey"}, None) |