-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Api 24364 improve validation for survivor (#11898)
* Fix logic to check claimant vs vet ssn * Update test to correct HTTP code returned * Fix Rubocop line length, add rswag entry for 422 * Remove byebug * Changes to 422 test for v2 * Going with Rubocop correction * Remove optional participant_claimant_id param * Update docs for param removal * Generated swagger reflecting param removal * Commit tested version of validator * Fix test per new validation * Add test for updated survivor validation * Update test user and setup to return 422 with uddated logic * Update validate to return 422 if no claimantSsn provided for survivor type
- Loading branch information
1 parent
868a634
commit 994cd9f
Showing
3 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters