Repository navigation
Conversation
|
@stefanjcollier @stefannibrasil minor item to review. Should be an easy merge and fix |
|
The branch is out of date with the base branch. Please update the branch. Once done, I will review this. Thank you. |
|
Hi @jremes-foss this should be RtM now |
I found this out by investigation that actually this would fail for a specific valid NI number (One that is known to be valid, but this system would detect it as invalid)
|
Looks like it's an issue in the test itself. The regex check fails. Why? Has something changed? |
|
Also, another rebase is needed. |
|
That failure suggests I cannot comment on this. But checking AI e.t.c. they suggest EDIT1: I am happy to do this bugfix as well. If the OP will accept the change |
cf: https://www.gov.uk/hmrc-internal-manuals/national-insurance-manual/nim39110?utm_source=chatgpt.com - Fix invalid prefixes to be a true invalid prefix. Ignoring numbers or suffix letter considerations - Fix Suffixed last letter to only be ABCD - Remove ability for `O` to be second letter - Tidy up regex
|
FYI I haven't fixed the test code stipulating the F and M are permitted as I'm using the interactive editor. |
I found this out by investigation that actually this would fail for a specific valid NI number (One that is known to be valid, but this system would detect it as invalid)
Original work / motivation from #3032
Motivation / Background
Fixed a bug whereby you cannot generate a valid NI number
Additional information
Checklist
Before submitting the PR make sure the following are checked:
[Fix #issue-number]If you're proposing a new generator or locale: