diff --git a/tests/61push/02add_rules.pl b/tests/61push/02add_rules.pl index 45860a62b..d801da0f3 100644 --- a/tests/61push/02add_rules.pl +++ b/tests/61push/02add_rules.pl @@ -11,10 +11,12 @@ sub check_add_push_rule log_if_fail "Rule", $rule; - assert_json_keys( $rule, qw( rule_id actions enabled ) ); + assert_json_keys( $rule, qw( rule_id actions enabled default ) ); assert_json_boolean( $rule->{enabled} ); + assert_json_boolean( $rule->{default} ); + assert_eq( $rule->{rule_id}, $rule_id ); };