summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-05-14 14:37:40 +0100
committerErik Johnston <erik@matrix.org>2019-05-14 14:37:40 +0100
commitdc4f6d1b0104bb6d736deaec454640681bd31360 (patch)
tree3b49c5e6c99df3c565a2f8764bb3906a031ff8a7 /tests
parentMigrate all tests to use the dict-based config format instead of hanging item... (diff)
downloadsynapse-dc4f6d1b0104bb6d736deaec454640681bd31360.tar.xz
Use correct config option for ratelimiting in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py
index f21074ae28..f38533a0c7 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -156,7 +156,8 @@ def default_config(name, parse=False):
         "mau_stats_only": False,
         "mau_limits_reserved_threepids": [],
         "admin_contact": None,
-        "rc_message": {"per_second": 10000, "burst_count": 10000},
+        "rc_messages_per_second": 10000,
+        "rc_message_burst_count": 10000,
         "rc_registration": {"per_second": 10000, "burst_count": 10000},
         "rc_login": {
             "address": {"per_second": 10000, "burst_count": 10000},