@ -1851,8 +1851,8 @@ RSpec.describe BulkUpload::Lettings::Year2023::RowParser do
it"populates with correct error message"do
parser.valid?
expect(parser.errors.where(:field_46,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired.")
expect(parser.errors.where(:field_50,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired.")
expect(parser.errors.where(:field_46,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired. The minimum expected retirement age in England is 66.")
expect(parser.errors.where(:field_50,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired. The minimum expected retirement age in England is 66.")
@ -1881,8 +1881,8 @@ RSpec.describe BulkUpload::Lettings::Year2024::RowParser do
it"populates with correct error message"do
parser.valid?
expect(parser.errors.where(:field_42,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired.")
expect(parser.errors.where(:field_46,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired.")
expect(parser.errors.where(:field_42,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired. The minimum expected retirement age in England is 66.")
expect(parser.errors.where(:field_46,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired. The minimum expected retirement age in England is 66.")