Skip to content

Commit

Permalink
chore: remove unused buildUrl from expectations for publish pacts
Browse files Browse the repository at this point in the history
It's feature toggled off in the prod code, and needs to be moved from the version to the pact publication resource
  • Loading branch information
bethesque committed Oct 5, 2023
1 parent c3aa8dc commit 599b6c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions doc/pacts/markdown/Pact Broker Client - Pact Broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -2305,8 +2305,7 @@ Pact Broker will respond with:
"name": "Foo"
},
"version": {
"number": "5556b8149bf8bac76bc30f50a8a2dd4c22c85f30",
"buildUrl": "http://build"
"number": "5556b8149bf8bac76bc30f50a8a2dd4c22c85f30"
}
},
"logs": [
Expand Down
3 changes: 1 addition & 2 deletions spec/pacts/pact_broker_client-pact_broker.json
Original file line number Diff line number Diff line change
Expand Up @@ -1602,8 +1602,7 @@
"name": "Foo"
},
"version": {
"number": "5556b8149bf8bac76bc30f50a8a2dd4c22c85f30",
"buildUrl": "http://build"
"number": "5556b8149bf8bac76bc30f50a8a2dd4c22c85f30"
}
},
"logs": [
Expand Down
3 changes: 1 addition & 2 deletions spec/service_providers/publish_pacts_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ def mock_contract_publication
name: pacticipant_name
},
version: {
number: version_number,
buildUrl: build_url
number: version_number
}
},
logs: Pact.each_like(level: "info", message: "some message"),
Expand Down

0 comments on commit 599b6c6

Please sign in to comment.