not_student_16_19:"Answer cannot be between 16 and 19 as person %{person_num} is a child of the lead tenant but is not a full-time student"
student_16_19:
cannot_be_16_19:
student_not_child:"Person cannot be aged 16-19 if they are a student but don't have relationship ‘child’"
child_not_student:"Person cannot be aged 16-19 if they have relationship ‘child’ but are not a student"
must_be_16_19:"Person must be aged 16-19 if they are a student and have relationship ‘child’"
partner_under_16:"Cannot be under 16 if the relationship is partner"
@ -358,7 +357,6 @@ en:
student_16_19:
cannot_be_student:
child_not_16_19:"Person cannot be a student if they are not aged 16-19 but have relationship ‘child’"
16_19_not_child:"Person cannot be a student if they are aged 16-19 but don‘t have relationship ‘child’"
must_be_student:"Person must be a student if they are aged 16-19 and have relationship ‘child’"
retired_male:"Answer cannot be ‘retired’ as the male tenant is under 65"
retired_female:"Answer cannot be ‘retired’ as the female tenant is under 60"
@ -372,7 +370,6 @@ en:
cannot_be_child:
student_not_16_19:"Answer cannot be ‘child’ if the person is a student but not aged 16-19"
16_19_not_student:"Answer cannot be ‘child’ if the person is aged 16-19 but not a student"
must_be_child:"Answer must be ‘child’ if the person is aged 16-19 and a student"
housingneeds_a:
one_or_two_choices:"You can only select one option or ‘other disabled access needs’ plus ‘wheelchair-accessible housing’, ‘wheelchair access to essential rooms’ or ‘level access housing’"
housingneeds_type:
@ -526,6 +523,8 @@ en:
staircase_bought_seems_high:"You said %{percentage}% was bought in this staircasing transaction, which seems high. Are you sure?"
monthly_charges_over_soft_max:
title_text:"The amount of monthly charges is high for this type of property and sale type"
student_not_child:
title_text:"You told us this person is a student aged beween 16 and 19"
expect(logger).toreceive(:warn).with(/Removing field age2 from log triggering validation: Person cannot be aged 16-19 if they are a student but don't have relationship ‘child’/)
expect(logger).toreceive(:warn).with(/Removing field relat2 from log triggering validation: Answer must be ‘child’ if the person is aged 16-19 and a student/)
expect(logger).toreceive(:warn).with(/Removing field ecstat2 from log triggering validation: Person cannot be a student if they are aged 16-19 but don‘t have relationship ‘child’/)
expect(logger).toreceive(:warn).with(/Log discounted_ownership_sales_log: Removing field ecstat2 from log triggering validation: Answer cannot be ‘child under 16’ as you told us the person 2 is older than 16/)
expect(logger).toreceive(:warn).with(/Log discounted_ownership_sales_log: Removing field age2 from log triggering validation: Answer cannot be over 16 as person’s 2 working situation is ‘child under 16‘/)