From 4523227e52500f62904d7fd30db5e225eb597858 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Tue, 15 Dec 2020 09:40:59 +1100 Subject: [PATCH] chore: update http test data builder --- lib/pact_broker/test/http_test_data_builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)