diff --git a/app/models/form/lettings/pages/max_rent_value_check.rb b/app/models/form/lettings/pages/max_rent_value_check.rb index e752f636b..f3280420b 100644 --- a/app/models/form/lettings/pages/max_rent_value_check.rb +++ b/app/models/form/lettings/pages/max_rent_value_check.rb @@ -19,6 +19,6 @@ class Form::Lettings::Pages::MaxRentValueCheck < ::Form::Page end def interruption_screen_question_ids - %w[brent startdate uprn postcode_full la beds rent_type needstype period] + %w[brent period startdate uprn postcode_full la beds rent_type needstype] end end diff --git a/app/models/form/lettings/pages/min_rent_value_check.rb b/app/models/form/lettings/pages/min_rent_value_check.rb index 0d14a67e9..ee26b4d7e 100644 --- a/app/models/form/lettings/pages/min_rent_value_check.rb +++ b/app/models/form/lettings/pages/min_rent_value_check.rb @@ -19,6 +19,6 @@ class Form::Lettings::Pages::MinRentValueCheck < ::Form::Page end def interruption_screen_question_ids - %w[brent startdate uprn postcode_full la beds rent_type needstype period] + %w[brent period startdate uprn postcode_full la beds rent_type needstype] end end diff --git a/config/forms/2022_2023.json b/config/forms/2022_2023.json index 9dac7768a..e98fd6632 100644 --- a/config/forms/2022_2023.json +++ b/config/forms/2022_2023.json @@ -8316,7 +8316,7 @@ } } }, - "interruption_screen_question_ids": ["brent", "startdate", "la", "beds", "rent_type", "needstype", "period"] + "interruption_screen_question_ids": ["brent", "period", "startdate", "la", "beds", "rent_type", "needstype"] }, "max_rent_value_check": { "depends_on": [ @@ -8361,7 +8361,7 @@ } } }, - "interruption_screen_question_ids": ["brent", "startdate", "la", "beds", "rent_type", "needstype", "period"] + "interruption_screen_question_ids": ["brent", "period", "startdate", "la", "beds", "rent_type", "needstype"] }, "scharge_value_check": { "depends_on": [ diff --git a/spec/models/form/lettings/pages/max_rent_value_check_spec.rb b/spec/models/form/lettings/pages/max_rent_value_check_spec.rb index 9ab1fc365..45caf16a3 100644 --- a/spec/models/form/lettings/pages/max_rent_value_check_spec.rb +++ b/spec/models/form/lettings/pages/max_rent_value_check_spec.rb @@ -32,6 +32,6 @@ RSpec.describe Form::Lettings::Pages::MaxRentValueCheck, type: :model do end it "has the correct interruption_screen_question_ids" do - expect(page.interruption_screen_question_ids).to eq(%w[brent startdate uprn postcode_full la beds rent_type needstype period]) + expect(page.interruption_screen_question_ids).to eq(%w[brent period startdate uprn postcode_full la beds rent_type needstype]) end end diff --git a/spec/models/form/lettings/pages/min_rent_value_check_spec.rb b/spec/models/form/lettings/pages/min_rent_value_check_spec.rb index 74c122da8..2f953c4cb 100644 --- a/spec/models/form/lettings/pages/min_rent_value_check_spec.rb +++ b/spec/models/form/lettings/pages/min_rent_value_check_spec.rb @@ -41,6 +41,6 @@ RSpec.describe Form::Lettings::Pages::MinRentValueCheck, type: :model do end it "has the correct interruption_screen_question_ids" do - expect(page.interruption_screen_question_ids).to eq(%w[brent startdate uprn postcode_full la beds rent_type needstype period]) + expect(page.interruption_screen_question_ids).to eq(%w[brent period startdate uprn postcode_full la beds rent_type needstype]) end end