summary refs log tree commit diff
path: root/tests/rest/client/test_relations.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-06-08 09:00:35 -0400
committerGitHub <noreply@github.com>2022-06-08 09:00:35 -0400
commitdd2d66b0c9f3ff734314fcddb7f90f3225ddb555 (patch)
tree314df08bb0f45ea2701f4f2793204c41a6212813 /tests/rest/client/test_relations.py
parentUse a GitHub form for issues rather than a hard-to-read, easy-to-ignore templ... (diff)
downloadsynapse-dd2d66b0c9f3ff734314fcddb7f90f3225ddb555.tar.xz
Move the (unstable) `dir` parameter for /relations behind an experimental flag. (#12984)
MSC3715 defines this parameter, but the unstable version of it should be
behind an experimental flag.
Diffstat (limited to 'tests/rest/client/test_relations.py')
-rw-r--r--tests/rest/client/test_relations.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rest/client/test_relations.py b/tests/rest/client/test_relations.py
index 62e4db23ef..aa84906548 100644
--- a/tests/rest/client/test_relations.py
+++ b/tests/rest/client/test_relations.py
@@ -728,6 +728,7 @@ class RelationsTestCase(BaseRelationsTestCase):
 
 
 class RelationPaginationTestCase(BaseRelationsTestCase):
+    @unittest.override_config({"experimental_features": {"msc3715_enabled": True}})
     def test_basic_paginate_relations(self) -> None:
         """Tests that calling pagination API correctly the latest relations."""
         channel = self._send_relation(RelationTypes.ANNOTATION, "m.reaction", "a")