Skip to content

Commit c8df320

Browse files
Merge pull request #6569 from NHSDigital/alistair/imms-import-more-less
Change "more" to "less" in `ImmunisationImportRow` validation errors
2 parents 4f53012 + 8e2d529 commit c8df320

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/immunisation_import_row.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ def validate_batch_expiry
672672
"must be less than 15 years in the future"
673673
)
674674
elsif date < EARLIEST_BATCH_EXPIRY
675-
errors.add(batch_expiry.header, "must be more than 15 years old")
675+
errors.add(batch_expiry.header, "must be less than 15 years old")
676676
end
677677
else
678678
errors.add(batch_expiry.header, "Enter a date in the correct format.")

0 commit comments

Comments
 (0)