diff --git a/app/controllers/concerns/contextual_comms_ab_testable.rb b/app/controllers/concerns/contextual_comms_ab_testable.rb index fce8ade9e..3587386b8 100644 --- a/app/controllers/concerns/contextual_comms_ab_testable.rb +++ b/app/controllers/concerns/contextual_comms_ab_testable.rb @@ -72,9 +72,7 @@ def whitelisted_campaign_page? def campaign_name @campaign_name ||= - if GET_IN_GO_FAR_PAGES.include?(content_item_path) - :get_in_go_far - elsif EATING_PAGES.include?(content_item_path) + if EATING_PAGES.include?(content_item_path) :eating elsif CHECK_YOUR_PAY_PAGES.include?(content_item_path) :check_your_pay diff --git a/test/controllers/contextual_comms_ab_test_controller_test.rb b/test/controllers/contextual_comms_ab_test_controller_test.rb index 9136013d1..961596538 100644 --- a/test/controllers/contextual_comms_ab_test_controller_test.rb +++ b/test/controllers/contextual_comms_ab_test_controller_test.rb @@ -6,12 +6,12 @@ class ContentItemsControllerTest < ActionController::TestCase # govuk_base_path is an example page that is eligible to show a campaign. CAMPAIGNS = { - get_in_go_far: { - govuk_base_path: "/career-skills-and-training", - title: "Get In Go Far", - description: "Search thousands of apprenticeships from great companies, with more added every day.", - href: "https://www.getingofar.gov.uk/", - }, + # get_in_go_far: { + # govuk_base_path: "/career-skills-and-training", + # title: "Get In Go Far", + # description: "Search thousands of apprenticeships from great companies, with more added every day.", + # href: "https://www.getingofar.gov.uk/", + # }, eating: { govuk_base_path: "/free-school-transport", title: "How healthy is your food?",