summary refs log tree commit diff
path: root/tests/handlers/test_register.py
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/handlers/test_register.py
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/handlers/test_register.py')
-rw-r--r--tests/handlers/test_register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_register.py b/tests/handlers/test_register.py
index e2915eb7b1..e7b638dbfe 100644
--- a/tests/handlers/test_register.py
+++ b/tests/handlers/test_register.py
@@ -34,7 +34,7 @@ class RegistrationTestCase(unittest.HomeserverTestCase):
     """ Tests the RegistrationHandler. """
 
     def make_homeserver(self, reactor, clock):
-        hs_config = self.default_config("test")
+        hs_config = self.default_config()
 
         # some of the tests rely on us having a user consent version
         hs_config["user_consent"] = {