diff --git a/app/services/bulk_upload/lettings/year2024/row_parser.rb b/app/services/bulk_upload/lettings/year2024/row_parser.rb index 5f05b6e10..28cfc1ca8 100644 --- a/app/services/bulk_upload/lettings/year2024/row_parser.rb +++ b/app/services/bulk_upload/lettings/year2024/row_parser.rb @@ -377,8 +377,6 @@ class BulkUpload::Lettings::Year2024::RowParser validate :validate_created_by_exists, on: :after_log validate :validate_created_by_related, on: :after_log - validate :validate_declaration_acceptance, on: :after_log - validate :validate_nulls, on: :after_log validate :validate_uprn_exists_if_any_key_address_fields_are_blank, on: :after_log, unless: -> { supported_housing? } @@ -494,12 +492,6 @@ class BulkUpload::Lettings::Year2024::RowParser private - def validate_declaration_acceptance - unless field_15 == 1 - errors.add(:field_15, I18n.t("validations.declaration.missing"), category: :setup) - end - end - def validate_valid_radio_option log.attributes.each do |question_id, _v| question = log.form.get_question(question_id, log)