diff --git a/app/presenters/content_item/recruitment_banner.rb b/app/presenters/content_item/recruitment_banner.rb index efb137c8a..d4f2dbfff 100644 --- a/app/presenters/content_item/recruitment_banner.rb +++ b/app/presenters/content_item/recruitment_banner.rb @@ -1,6 +1,6 @@ module ContentItem module RecruitmentBanner - SURVEY_URL_ONE = "https://GDSUserResearch.optimalworkshop.com/treejack/s46554q1".freeze + SURVEY_URL_ONE = "https://surveys.publishing.service.gov.uk/s/GY8Q11".freeze SURVEY_URLS = { "/browse/tax" => SURVEY_URL_ONE, "/browse/business" => SURVEY_URL_ONE, diff --git a/test/integration/recruitment_banner_test.rb b/test/integration/recruitment_banner_test.rb index 45e18358e..008a78b9e 100644 --- a/test/integration/recruitment_banner_test.rb +++ b/test/integration/recruitment_banner_test.rb @@ -16,7 +16,7 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest visit guide["base_path"] assert page.has_css?(".gem-c-intervention") - assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://GDSUserResearch.optimalworkshop.com/treejack/s46554q1") + assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://surveys.publishing.service.gov.uk/s/GY8Q11") end test "Recruitment Banner is displayed for any page tagged to Business and Self-employed" do @@ -34,7 +34,7 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest visit guide["base_path"] assert page.has_css?(".gem-c-intervention") - assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://GDSUserResearch.optimalworkshop.com/treejack/s46554q1") + assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://surveys.publishing.service.gov.uk/s/GY8Q11") end test "Recruitment Banner is not displayed unless page is tagged to a topic of interest" do @@ -51,6 +51,6 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest visit_with_cachebust guide["base_path"] assert_not page.has_css?(".gem-c-intervention") - assert_not page.has_link?("Take part in user research", href: "https://GDSUserResearch.optimalworkshop.com/treejack/s46554q1") + assert_not page.has_link?("Take part in user research", href: "https://surveys.publishing.service.gov.uk/s/GY8Q11") end end