diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-03-07 10:06:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 10:06:02 -0500 |
commit | 820f02b70badfc04d35c95f8ffb9682c8310e91e (patch) | |
tree | 8a77e9468656b0d75d968a5a309541e9a0b1d256 /tests/push/test_bulk_push_rule_evaluator.py | |
parent | Remove duplicate entry from changelog (diff) | |
download | synapse-820f02b70badfc04d35c95f8ffb9682c8310e91e.tar.xz |
Stabilize support for MSC3966: event_property_contains push condition. (#15187)
This removes the configuration flag & updates the identifiers to use the stable version.
Diffstat (limited to 'tests/push/test_bulk_push_rule_evaluator.py')
-rw-r--r-- | tests/push/test_bulk_push_rule_evaluator.py | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/tests/push/test_bulk_push_rule_evaluator.py b/tests/push/test_bulk_push_rule_evaluator.py index c6591c50de..46df0102f7 100644 --- a/tests/push/test_bulk_push_rule_evaluator.py +++ b/tests/push/test_bulk_push_rule_evaluator.py @@ -228,14 +228,7 @@ class TestBulkPushRuleEvaluator(HomeserverTestCase): ) return len(result) > 0 - @override_config( - { - "experimental_features": { - "msc3952_intentional_mentions": True, - "msc3966_exact_event_property_contains": True, - } - } - ) + @override_config({"experimental_features": {"msc3952_intentional_mentions": True}}) def test_user_mentions(self) -> None: """Test the behavior of an event which includes invalid user mentions.""" bulk_evaluator = BulkPushRuleEvaluator(self.hs) @@ -331,14 +324,7 @@ class TestBulkPushRuleEvaluator(HomeserverTestCase): ) ) - @override_config( - { - "experimental_features": { - "msc3952_intentional_mentions": True, - "msc3966_exact_event_property_contains": True, - } - } - ) + @override_config({"experimental_features": {"msc3952_intentional_mentions": True}}) def test_room_mentions(self) -> None: """Test the behavior of an event which includes invalid room mentions.""" bulk_evaluator = BulkPushRuleEvaluator(self.hs) |