diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-03-31 15:05:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 15:05:13 -0400 |
commit | bebf994ee804ef63ce16801c6694713fcd685320 (patch) | |
tree | fd409e3f2f51451a407e372a1abbbb2af68f3c7e /tests/rest | |
parent | Handle outliers in `/federation/v1/event` (#12332) (diff) | |
download | synapse-bebf994ee804ef63ce16801c6694713fcd685320.tar.xz |
Move MSC2654 support behind an experimental configuration flag. (#12295)
To match the current thinking on disabling experimental features by default.
Diffstat (limited to 'tests/rest')
-rw-r--r-- | tests/rest/client/test_sync.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rest/client/test_sync.py b/tests/rest/client/test_sync.py index 3cebbd18f0..773c16a54c 100644 --- a/tests/rest/client/test_sync.py +++ b/tests/rest/client/test_sync.py @@ -496,6 +496,11 @@ class UnreadMessagesTestCase(unittest.HomeserverTestCase): receipts.register_servlets, ] + def default_config(self) -> JsonDict: + config = super().default_config() + config["experimental_features"] = {"msc2654_enabled": True} + return config + def prepare(self, reactor: MemoryReactor, clock: Clock, hs: HomeServer) -> None: self.url = "/sync?since=%s" self.next_batch = "s0" |