Skip to content

LG-10423: Update PII Validation to Validate Document ID Number#9777

Merged
charleyf merged 14 commits intomainfrom
charley/lg-10423-validate-document-id-number-is-read-from-id-document
Dec 22, 2023
Merged

LG-10423: Update PII Validation to Validate Document ID Number#9777
charleyf merged 14 commits intomainfrom
charley/lg-10423-validate-document-id-number-is-read-from-id-document

Conversation

@charleyf
Copy link
Copy Markdown
Contributor

🎫 Ticket

https://cm-jira.usa.gov/browse/LG-10423

🛠 Summary of changes

This PR adds a validation on the state_id_number which is also known as the Document ID Number.

@eileen-nava eileen-nava self-requested a review December 15, 2023 21:03
@charleyf charleyf marked this pull request as ready for review December 18, 2023 20:15
@charleyf charleyf requested a review from amirbey December 18, 2023 20:15
@charleyf charleyf changed the title LG-10423: Validate Document ID Number is Read From ID Document LG-10423: Update PII Validation to Validate Document ID Number Dec 19, 2023
Copy link
Copy Markdown
Contributor

@amirbey amirbey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ... i think you should consider adding a test case in the image_uploads_controller_spec.rb

also think @eileen-nava suggestion is a beneficial change that quick and easy 👍🏿

end
end

context 'but doc_pii validation fails due to missing state_id_number' do
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amirbey Adding a test is a good idea. Did it here.

@charleyf charleyf merged commit c532802 into main Dec 22, 2023
@charleyf charleyf deleted the charley/lg-10423-validate-document-id-number-is-read-from-id-document branch December 22, 2023 00:13
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.

3 participants