diff options
author | Erik Johnston <erik@matrix.org> | 2019-09-05 17:17:47 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-09-05 17:17:47 +0100 |
commit | ad9b64b4969537ac339469152eaa437bcf4b6609 (patch) | |
tree | 4cb3818585a3da57d51059d2fe14c5116fd25b4e /tests/storage | |
parent | Make redaction retention period configurable (diff) | |
download | synapse-ad9b64b4969537ac339469152eaa437bcf4b6609.tar.xz |
Fix test
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_redaction.py | 4 |
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): |