-
Notifications
You must be signed in to change notification settings - Fork 63
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
Api 24833 526 v2 section 6 service info validation part 1 v2 #12789
Api 24833 526 v2 section 6 service info validation part 1 v2 #12789
Conversation
Generated by 🚫 Danger |
* Service Information validation - Part 1 API-24833 - Part 1 AC points 1 - 12 * Adds RSpec tests for validating service information elements for AC points 1 - 12 * Adds methods in validation file for validating service information elements * Updates 526 schema, and related JSON files, for the updated type for confinements Changes to be committed: modified: modules/claims_api/app/controllers/concerns/claims_api/v2/disability_compensation_validation.rb modified: modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json modified: modules/claims_api/config/schemas/v2/526.json modified: modules/claims_api/config/schemas/v2/request_bodies/disability_compensation/example.json modified: modules/claims_api/config/schemas/v2/request_bodies/disability_compensation/request.json modified: modules/claims_api/spec/fixtures/v2/veterans/disability_compensation/form_526_json_api.json modified: modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb modified: spec/support/schemas/claims_api/v2/forms/disability/submission.json * Service Information validation - Part 1 API-24833 - Part 1 AC points 1 - 12 Alters the AC points covered, now part 1 covers 1 - 9 and adjusts RSpec and validation file in line with that. Changes to be committed: modified: modules/claims_api/app/controllers/concerns/claims_api/v2/disability_compensation_validation.rb modified: modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb * Removes RSpec tests that moved over to part 2 * Fixes my misunderstood structure for confinements * Removes a log out and gets the brakeman update
Service Information validation - Part 1
Adds validations/tests for service information
Summary
Related issue(s)
API-24833 - Part 1, AC points 1 - 9
Testing done
RSpec
What areas of the site does it impact?
modified: modules/claims_api/app/controllers/concerns/claims_api/v2/disability_compensation_validation.rb
modified: modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json
modified: modules/claims_api/config/schemas/v2/526.json
modified: modules/claims_api/config/schemas/v2/request_bodies/disability_compensation/example.json
modified: modules/claims_api/config/schemas/v2/request_bodies/disability_compensation/request.json
modified: modules/claims_api/spec/fixtures/v2/veterans/disability_compensation/form_526_json_api.json
modified: modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb
modified: spec/support/schemas/claims_api/v2/forms/disability/submission.json (brings it up to date with changes from treatments as well since I missed those)
Acceptance criteria