Skip to content

Commit

Permalink
Update tests to include rollup data
Browse files Browse the repository at this point in the history
  • Loading branch information
pezholio committed Nov 28, 2024
1 parent 0ae9c6f commit d9a7d0f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/pacts/publishing_api/get_embedded_content_pact_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,20 @@
},
}
end
let(:rollup) do
{
"views" => 1,
"locations" => 1,
"instances" => 1,
"organisations" => 1,
}
end
let(:expected_body) do
{
"content_id" => reusable_content_id,
"total" => 1,
"results" => [result],
"rollup" => rollup,
}
end

Expand Down

0 comments on commit d9a7d0f

Please sign in to comment.