-
Notifications
You must be signed in to change notification settings - Fork 56
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-35479-526-mock-data #16719
API-35479-526-mock-data #16719
Conversation
…have an ampersand. Adjusts test.
…for pdf_generator. Switches conditional statements to be positive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested 526 submissions locally using the new pdf_generator_526
setting set to true
, then confirmed expected mocking behavior and associated logging. Looks good, but deferring approval for your review of comments I added.
modules/claims_api/app/sidekiq/claims_api/v2/disability_compensation_pdf_generator.rb
Outdated
Show resolved
Hide resolved
merges master
merges master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally in Postman with local settings updated as noted. Successful requests for synchronous and non-synchronous calls; confirmed pdf generation and s3 upload are skipped. Looks good to me!
Summary
Related issue(s)
Testing done
New code is covered by unit tests
How to test in Postman
What areas of
the site does it impact?
modified: modules/claims_api/app/sidekiq/claims_api/v2/disability_compensation_benefits_documents_uploader.rb
modified: modules/claims_api/app/sidekiq/claims_api/v2/disability_compensation_pdf_generator.rb
modified: modules/claims_api/spec/sidekiq/v2/disability_compensation_pdf_generator_spec.rb
modified: modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb
modified: modules/claims_api/spec/sidekiq/v2/disability_compensation_benefits_documents_uploader_spec.rb
Acceptance criteria