Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amended validation to allow NINOs starting with QQ #1246

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

hortha
Copy link
Contributor

@hortha hortha commented Mar 15, 2024

Context

During testing of the CSV extract we noticed that there were some National Insurance Numbers in the file which started with QQ and were seen as invalid using the existing Regex we have for NINO validation.

QQ is used for temporary NINOs and is valid so we should allow this everywhere we validate a NINO.

Changes proposed in this pull request

Amend the NINO validation helper to allow NINOs starting with QQ

@hortha hortha merged commit 30845d1 into main Mar 15, 2024
12 checks passed
@hortha hortha deleted the allow-ninos-starting-with-qq branch March 15, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants