summary refs log tree commit diff
path: root/tests/rulecheck
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-05-09 13:59:57 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-05-09 13:59:57 +0100
commitaa5c42f5bc5502f06ef41e03e0ea6863d2622bab (patch)
treeab16e40ceab5425150495b5903972ea4a488e96f /tests/rulecheck
parentMerge branch 'babolivier/lookup_path' of github.com:matrix-org/synapse into b... (diff)
downloadsynapse-aa5c42f5bc5502f06ef41e03e0ea6863d2622bab.tar.xz
Fix failing test
Diffstat (limited to 'tests/rulecheck')
-rw-r--r--tests/rulecheck/test_domainrulecheck.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/rulecheck/test_domainrulecheck.py b/tests/rulecheck/test_domainrulecheck.py
index e3167aa06b..66b9cca4b3 100644
--- a/tests/rulecheck/test_domainrulecheck.py
+++ b/tests/rulecheck/test_domainrulecheck.py
@@ -164,6 +164,9 @@ class DomainRuleCheckerRoomTestCase(unittest.HomeserverTestCase):
 
     def make_homeserver(self, reactor, clock):
         config = self.default_config()
+        config.trusted_third_party_id_servers = [
+            "localhost",
+        ]
 
         config.spam_checker = (
             DomainRuleChecker,