diff --git a/t/api-rest/api-journals.t b/t/api-rest/api-journals.t index 73d9159e0d..b65e82834c 100644 --- a/t/api-rest/api-journals.t +++ b/t/api-rest/api-journals.t @@ -946,19 +946,19 @@ sub test_cfmapping { $req->header('Prefer' => 'return=representation'); $req->content(JSON::to_json({ cfb => [{ destinationset => $cfdestinationset->{name}, - timeset => $cftimeset->{name}}], + timeset => $cftimeset->{name}, enabled => 1}], cfna => [{ destinationset => $cfdestinationset->{name}, - timeset => $cftimeset->{name}}], + timeset => $cftimeset->{name}, enabled => 1}], cft => [{ destinationset => $cfdestinationset->{name}, - timeset => $cftimeset->{name}}], + timeset => $cftimeset->{name}, enabled => 1}], cfu => [{ destinationset => $cfdestinationset->{name}, - timeset => $cftimeset->{name}}], + timeset => $cftimeset->{name}, enabled => 1}], cfs => [{ destinationset => $cfdestinationset->{name}, - timeset => $cftimeset->{name}}], + timeset => $cftimeset->{name}, enabled => 1}], cfr => [{ destinationset => $cfdestinationset->{name}, - timeset => $cftimeset->{name}}], + timeset => $cftimeset->{name}, enabled => 1}], cfo => [{ destinationset => $cfdestinationset->{name}, - timeset => $cftimeset->{name}}], + timeset => $cftimeset->{name}, enabled => 1}], })); $res = $ua->request($req); is($res->code, 200, _get_request_test_message("PUT test cfmappings")); @@ -978,7 +978,7 @@ sub test_cfmapping { $req->header('Prefer' => 'return=representation'); $req->content(JSON::to_json( [ { op => 'replace', path => '/cfb', value => [{ destinationset => $cfdestinationset->{name}, - timeset => $cftimeset->{name}}] } ] + timeset => $cftimeset->{name}, enabled => 1}] } ] )); $res = $ua->request($req); is($res->code, 200, _get_request_test_message("PATCH test cfmappings"));