This commit is contained in:
Erik Johnston 2019-09-05 17:17:47 +01:00
parent 3ff0422d2d
commit ad9b64b496
1 changed files with 3 additions and 1 deletions

View File

@ -31,8 +31,10 @@ from tests.utils import create_room
class RedactionTestCase(unittest.HomeserverTestCase): class RedactionTestCase(unittest.HomeserverTestCase):
def make_homeserver(self, reactor, clock): def make_homeserver(self, reactor, clock):
config = self.default_config()
config["redaction_retention_period"] = "30d"
return self.setup_test_homeserver( 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): def prepare(self, reactor, clock, hs):