Skip to content

Commit

Permalink
Fix internal URL for GOV.UK Chat test
Browse files Browse the repository at this point in the history
Using `application_internal_url("chat")` returns a url of
"https://chat". Instead we want the actual full URL of
"https://www.integration.publishing.service.gov.uk"
  • Loading branch information
jackbot committed Sep 24, 2024
1 parent f4a5dff commit 8303a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/step_definitions/govuk_chat_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
url = if ENV["ENVIRONMENT"] == "production"
application_external_url("chat")
else
application_internal_url("chat")
Plek.website_root
end

cache_busted_url = cache_bust("#{url}/chat/about")
Expand Down

0 comments on commit 8303a26

Please sign in to comment.