summary refs log tree commit diff
path: root/tests/server_notices
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-03-24 18:33:49 +0000
committerRichard van der Hoff <richard@matrix.org>2020-03-24 18:33:49 +0000
commit28d9d6e8a9d6a6d5162de41cada1b6d6d4b0f941 (patch)
tree58d9f387406f368b92c9af2ab443c616baa13e4a /tests/server_notices
parentFix CAS redirect url (#6634) (diff)
downloadsynapse-28d9d6e8a9d6a6d5162de41cada1b6d6d4b0f941.tar.xz
Remove spurious "name" parameter to `default_config`
this is never set to anything other than "test", and is a source of unnecessary
boilerplate.
Diffstat (limited to 'tests/server_notices')
-rw-r--r--tests/server_notices/test_resource_limits_server_notices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server_notices/test_resource_limits_server_notices.py b/tests/server_notices/test_resource_limits_server_notices.py
index eb540e34f6..0d27b92a86 100644
--- a/tests/server_notices/test_resource_limits_server_notices.py
+++ b/tests/server_notices/test_resource_limits_server_notices.py
@@ -28,7 +28,7 @@ from tests import unittest
 
 class TestResourceLimitsServerNotices(unittest.HomeserverTestCase):
     def make_homeserver(self, reactor, clock):
-        hs_config = self.default_config("test")
+        hs_config = self.default_config()
         hs_config["server_notices"] = {
             "system_mxid_localpart": "server",
             "system_mxid_display_name": "test display name",