From 6b878b9a4e330d96306cd1d65f9dfa091c3e5842 Mon Sep 17 00:00:00 2001 From: Hanna Laakso Date: Mon, 11 Sep 2023 16:53:00 +0100 Subject: [PATCH] Stop ignoring travel alert status in tests --- config/i18n-tasks.yml | 2 +- test/presenters/travel_advice_presenter_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml index 9a65bec26b..b63e02ce18 100644 --- a/config/i18n-tasks.yml +++ b/config/i18n-tasks.yml @@ -5,5 +5,5 @@ data: ignore_unused: - 'content_item.schema_name.*.{one,other,zero,few,many,two}' - 'corporate_information_page.*' - - 'travel_advice.alert_status.*' + # - 'travel_advice.alert_status.*' - 'publication.documents.other' diff --git a/test/presenters/travel_advice_presenter_test.rb b/test/presenters/travel_advice_presenter_test.rb index f6cfbba603..c4262293c7 100644 --- a/test/presenters/travel_advice_presenter_test.rb +++ b/test/presenters/travel_advice_presenter_test.rb @@ -212,7 +212,7 @@ def schema_name test "presents alert statuses" do example = schema_item("full-country") - example["details"]["alert_status"] = %w[avoid_all_but_essential_travel_to_parts avoid_all_travel_to_parts] + example["details"]["alert_status"] = %w[avoid_all_but_essential_travel_to_parts, avoid_all_travel_to_parts] assert present_example(example).alert_status.include?("advise against all but essential travel") assert present_example(example).alert_status.include?("advise against all travel to parts") end