diff --git a/tests/test_rule_usage_wiring.py b/tests/test_rule_usage_wiring.py index 4233a0d..952b29b 100644 --- a/tests/test_rule_usage_wiring.py +++ b/tests/test_rule_usage_wiring.py @@ -327,8 +327,9 @@ def test_rules_payload_records_both_the_family_and_project_halves(): with patch.object(svc, "record_rule_surfaced", rec): svc.rules_payload( { - "rules": [{"id": 10}, {"id": 11}], - "project_rules": [{"id": 12}], + # rule_brief always carries a title; a listing names each rule. + "rules": [{"id": 10, "title": "a"}, {"id": 11, "title": "b"}], + "project_rules": [{"id": 12, "title": "c"}], "truncated": False, }, user_id=1,