mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Remove unnecessary config overrides for MSC3666. (#12511)
This commit is contained in:
parent
4bc8cb4669
commit
d0c1f4ca4c
2 changed files with 1 additions and 4 deletions
1
changelog.d/12511.misc
Normal file
1
changelog.d/12511.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Remove unnecessary configuration overrides in tests.
|
|
@ -355,7 +355,6 @@ class RelationsTestCase(BaseRelationsTestCase):
|
||||||
self.assertEqual(200, channel.code, channel.json_body)
|
self.assertEqual(200, channel.code, channel.json_body)
|
||||||
self.assertNotIn("m.relations", channel.json_body["unsigned"])
|
self.assertNotIn("m.relations", channel.json_body["unsigned"])
|
||||||
|
|
||||||
@unittest.override_config({"experimental_features": {"msc3666_enabled": True}})
|
|
||||||
def test_edit(self) -> None:
|
def test_edit(self) -> None:
|
||||||
"""Test that a simple edit works."""
|
"""Test that a simple edit works."""
|
||||||
|
|
||||||
|
@ -998,7 +997,6 @@ class BundledAggregationsTestCase(BaseRelationsTestCase):
|
||||||
]
|
]
|
||||||
assert_bundle(self._find_event_in_chunk(chunk))
|
assert_bundle(self._find_event_in_chunk(chunk))
|
||||||
|
|
||||||
@unittest.override_config({"experimental_features": {"msc3666_enabled": True}})
|
|
||||||
def test_annotation(self) -> None:
|
def test_annotation(self) -> None:
|
||||||
"""
|
"""
|
||||||
Test that annotations get correctly bundled.
|
Test that annotations get correctly bundled.
|
||||||
|
@ -1023,7 +1021,6 @@ class BundledAggregationsTestCase(BaseRelationsTestCase):
|
||||||
|
|
||||||
self._test_bundled_aggregations(RelationTypes.ANNOTATION, assert_annotations, 7)
|
self._test_bundled_aggregations(RelationTypes.ANNOTATION, assert_annotations, 7)
|
||||||
|
|
||||||
@unittest.override_config({"experimental_features": {"msc3666_enabled": True}})
|
|
||||||
def test_reference(self) -> None:
|
def test_reference(self) -> None:
|
||||||
"""
|
"""
|
||||||
Test that references get correctly bundled.
|
Test that references get correctly bundled.
|
||||||
|
@ -1042,7 +1039,6 @@ class BundledAggregationsTestCase(BaseRelationsTestCase):
|
||||||
|
|
||||||
self._test_bundled_aggregations(RelationTypes.REFERENCE, assert_annotations, 7)
|
self._test_bundled_aggregations(RelationTypes.REFERENCE, assert_annotations, 7)
|
||||||
|
|
||||||
@unittest.override_config({"experimental_features": {"msc3666_enabled": True}})
|
|
||||||
def test_thread(self) -> None:
|
def test_thread(self) -> None:
|
||||||
"""
|
"""
|
||||||
Test that threads get correctly bundled.
|
Test that threads get correctly bundled.
|
||||||
|
|
Loading…
Reference in a new issue