Milestone 415: an existing plan is found before a new one is made #159
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user