summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-09-05 17:17:47 +0100
committerErik Johnston <erik@matrix.org>2019-09-05 17:17:47 +0100
commitad9b64b4969537ac339469152eaa437bcf4b6609 (patch)
tree4cb3818585a3da57d51059d2fe14c5116fd25b4e
parentMake redaction retention period configurable (diff)
downloadsynapse-ad9b64b4969537ac339469152eaa437bcf4b6609.tar.xz
Fix test
-rw-r--r--tests/storage/test_redaction.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/storage/test_redaction.py b/tests/storage/test_redaction.py
index f0e86d41a8..deecfad9fb 100644
--- a/tests/storage/test_redaction.py
+++ b/tests/storage/test_redaction.py
@@ -31,8 +31,10 @@ from tests.utils import create_room
 
 class RedactionTestCase(unittest.HomeserverTestCase):
     def make_homeserver(self, reactor, clock):
+        config = self.default_config()
+        config["redaction_retention_period"] = "30d"
         return self.setup_test_homeserver(
-            resource_for_federation=Mock(), http_client=None
+            resource_for_federation=Mock(), http_client=None, config=config
         )
 
     def prepare(self, reactor, clock, hs):