diff --git a/lib/pact_broker/test/http_test_data_builder.rb b/lib/pact_broker/test/http_test_data_builder.rb index 9bca90cef..420a5792f 100644 --- a/lib/pact_broker/test/http_test_data_builder.rb +++ b/lib/pact_broker/test/http_test_data_builder.rb @@ -77,7 +77,7 @@ def get_pacts_for_verification(provider: last_provider_name, provider_version_ta consumerVersionSelectors: consumer_version_selectors, includePendingStatus: enable_pending, includeWipPactsSince: include_wip_pacts_since - } + }.compact puts body.to_yaml puts "" @pacts_for_verification_response = client.post("/pacts/provider/#{encode(provider)}/for-verification", body)