Fix test
This commit is contained in:
parent
3ff0422d2d
commit
ad9b64b496
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue