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

LG-15453: Fix issue formating heights for AAMVA DLDV #11736

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

matthinz
Copy link
Member

🎫 Ticket

Link to the relevant ticket:
LG-15453

🛠 Summary of changes

From the AAMVA DLDV guide regarding formatting the height:

Height data should be 3 characters (i.e. 5 foot 7 inches is submitted as 507)

We were not previously zero-padding the inches, leading to us sending "57" in the 5' 7" case.

From the AAMVA DLDV guide regarding formatting the height:

> Height data should be 3 characters (i.e. 5 foot 7 inches is submitted as 507)

We were not previously zero-padding the inches.

[skip changelog]
@matthinz matthinz requested a review from a team January 10, 2025 19:56
Copy link
Member

@n1zyy n1zyy left a comment

Choose a reason for hiding this comment

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

I have a super-annoying trivial suggestion, which is completely optional. Otherwise A+++ for this bugfix.

spec/services/proofing/aamva/applicant_spec.rb Outdated Show resolved Hide resolved
spec/services/proofing/aamva/applicant_spec.rb Outdated Show resolved Hide resolved
Test the "inches >= 10" and "inches < 10" cases
@matthinz matthinz merged commit 57fe1eb into main Jan 13, 2025
2 checks passed
@matthinz matthinz deleted the matthinz/aamva-format-height branch January 13, 2025 17:41
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.

4 participants