Skip to content

Commit

Permalink
Merge pull request #6570 from alphagov/531-remove-georgia-russia-visa
Browse files Browse the repository at this point in the history
Remove visa content specific to georgia and russia
  • Loading branch information
cynthia-anya authored Oct 6, 2023
2 parents 8b1d64a + 7f28dfc commit 713f99b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 32 deletions.
10 changes: 0 additions & 10 deletions app/flows/check_uk_visa_flow/outcomes/_russia_or_georgia.erb

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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 %>
4 changes: 0 additions & 4 deletions lib/smart_answer/calculators/uk_visa_calculator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 0 additions & 16 deletions test/flows/check_uk_visa_flow_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 713f99b

Please sign in to comment.