diff --git a/app/flows/check_uk_visa_flow/outcomes/_russia_or_georgia.erb b/app/flows/check_uk_visa_flow/outcomes/_russia_or_georgia.erb deleted file mode 100644 index 1371f313d41..00000000000 --- a/app/flows/check_uk_visa_flow/outcomes/_russia_or_georgia.erb +++ /dev/null @@ -1,10 +0,0 @@ -<% if calculator.passport_country_is_russia_or_georgia? %> - ###If you're arriving in the UK before 6 October 2023 - - You do not need a visa to come to the UK if both of the following apply: - - * you booked and paid for your journey to the UK before 00:01am (UK time) on 8 September 2023 - * you're arriving in the UK before 00:01am (UK time) on 6 October 2023 - - You'll need evidence of your onward journey. You may be asked to show it to Border Force officers or to your airline carrier. -<% end %> diff --git a/app/flows/check_uk_visa_flow/outcomes/outcome_transit_not_leaving_airport.erb b/app/flows/check_uk_visa_flow/outcomes/outcome_transit_not_leaving_airport.erb index a4f88c4a47e..13a6e20b0bf 100644 --- a/app/flows/check_uk_visa_flow/outcomes/outcome_transit_not_leaving_airport.erb +++ b/app/flows/check_uk_visa_flow/outcomes/outcome_transit_not_leaving_airport.erb @@ -25,6 +25,5 @@ All visas and residence permits must be valid. %E-visas or e-residence permits are not acceptable unless your airline is able to verify it with the issuing country. Contact your airline for more information.% - - <%= render partial: 'russia_or_georgia', locals: {calculator:} %> + <% end %> diff --git a/lib/smart_answer/calculators/uk_visa_calculator.rb b/lib/smart_answer/calculators/uk_visa_calculator.rb index 7486906a5ba..505ba9c881a 100644 --- a/lib/smart_answer/calculators/uk_visa_calculator.rb +++ b/lib/smart_answer/calculators/uk_visa_calculator.rb @@ -134,10 +134,6 @@ def passport_country_is_macao? @passport_country == "macao" end - def passport_country_is_russia_or_georgia? - %w[russia georgia].include?(@passport_country) - end - def passport_country_is_turkey? @passport_country == "turkey" end diff --git a/test/flows/check_uk_visa_flow_test.rb b/test/flows/check_uk_visa_flow_test.rb index 9f02ffd30bb..e4c4c6e5ea3 100644 --- a/test/flows/check_uk_visa_flow_test.rb +++ b/test/flows/check_uk_visa_flow_test.rb @@ -766,22 +766,6 @@ class CheckUkVisaFlowTest < ActiveSupport::TestCase end end - context "outcome: outcome_transit_not_leaving_airport" do - setup do - testing_node :outcome_transit_not_leaving_airport - add_responses purpose_of_visit?: "transit", - travelling_to_cta?: "somewhere_else", - passing_through_uk_border_control?: "no" - end - - %w[russia georgia].each do |country| - should "render extra guidance for #{country}" do - add_responses what_passport_do_you_have?: country - assert_rendered_outcome text: /If you’re arriving in the UK before 6 October 2023/ - end - end - end - context "outcome: outcome_transit_leaving_airport_direct_airside_transit_visa" do setup do testing_node :outcome_transit_leaving_airport_direct_airside_transit_visa