Skip to content

Commit

Permalink
Merge pull request #1231 from alphagov/update-pact-broker-url
Browse files Browse the repository at this point in the history
Update Pact Broker URL
  • Loading branch information
robinjam authored Nov 6, 2023
2 parents e6bf11f + 0bec37b commit 2f78af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/service_consumers/pact_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def url_encode(str)
if ENV["PACT_URI"]
pact_uri(ENV["PACT_URI"])
else
base_url = ENV.fetch("PACT_BROKER_BASE_URL", "https://pact-broker.cloudapps.digital")
base_url = ENV.fetch("PACT_BROKER_BASE_URL", "https://govuk-pact-broker-6991351eca05.herokuapp.com")
url = "#{base_url}/pacts/provider/#{url_encode(name)}/consumer/#{url_encode(consumer_name)}"

pact_uri "#{url}/versions/#{url_encode(ENV.fetch('PACT_CONSUMER_VERSION', 'branch-main'))}"
Expand Down

0 comments on commit 2f78af5

Please sign in to comment.