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

API-26837 Clean up appeals fixture factories #13001

Merged
merged 0 commits into from
Jun 15, 2023

Conversation

caseywilliams
Copy link
Contributor

Summary

Testing done

  • Tests still pass, fixtures still load correctly

What areas of the site does it impact?

  • Just appeals API tests

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Feature/bug has a monitor built into Datadog or Grafana (if applicable)
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected
  • I added a screenshot of the developed feature

@caseywilliams caseywilliams added Lighthouse lighthouse appeals Lighthouse API appeals banana-peels Lighthouse Banana Peels Team labels Jun 14, 2023
@caseywilliams caseywilliams requested review from a team as code owners June 14, 2023 23:33
@github-actions
Copy link

1 Warning
⚠️ This PR changes 262 LoC (not counting whitespace/newlines).

In order to ensure each PR receives the proper attention it deserves, we recommend not exceeding
200. Expect some delays getting reviews.

File Summary

Files

  • modules/appeals_api/spec/factories/higher_level_reviews.rb (+18/-69)

  • modules/appeals_api/spec/factories/notice_of_disagreements.rb (+19/-83)

  • modules/appeals_api/spec/factories/supplemental_claims.rb (+15/-58)

    Note: We exclude files matching the following when considering PR size:

    *.csv, *.json, *.tsv, *.txt, Gemfile.lock, app/swagger, modules/mobile/docs, spec/fixtures/, spec/support/vcr_cassettes/, modules/mobile/spec/support/vcr_cassettes/, db/seeds, modules/vaos/app/docs, modules/meb_api/app/docs, modules/appeals_api/app/swagger/
    

Big PRs are difficult to review, often become stale, and cause delays.

Generated by 🚫 Danger

@va-vfs-bot va-vfs-bot temporarily deployed to API-26837/appeal-factories-updates/main/main June 14, 2023 23:34 Inactive
*'/modules/appeals_api/spec/fixtures/decision_reviews/v2/valid_200996_extra.json'.split('/')
).to_s))
FixtureHelpers.fixture_as_json('decision_reviews/v2/valid_200996_headers_extra.json')
.transform_values(&:strip)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure why we use transform_values on extra headers for Supplemental Claims and Higher-Level Reviews and nowhere else, but if I remove it, it introduces spacing changes in the PDF generator specs, so I've left it in for now

@va-vfs-bot va-vfs-bot temporarily deployed to API-26837/appeal-factories-updates/main/main June 14, 2023 23:46 Inactive
@caseywilliams caseywilliams force-pushed the API-26837/appeal-factories-updates branch from 99f46e0 to 21fae28 Compare June 15, 2023 16:39
@va-vsp-bot va-vsp-bot requested a deployment to API-26837/appeal-factories-updates/main/main June 15, 2023 16:39 In progress
@va-vfs-bot va-vfs-bot temporarily deployed to API-26837/appeal-factories-updates/main/main June 15, 2023 16:51 Inactive
@caseywilliams caseywilliams force-pushed the API-26837/appeal-factories-updates branch from 21fae28 to 2440fd6 Compare June 15, 2023 18:10
@va-vsp-bot va-vsp-bot requested a deployment to API-26837/appeal-factories-updates/main/main June 15, 2023 18:10 In progress
Copy link
Contributor

@kristen-brown kristen-brown left a comment

Choose a reason for hiding this comment

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

Nice! 👍

@caseywilliams caseywilliams merged commit 0d8e317 into master Jun 15, 2023
@caseywilliams caseywilliams deleted the API-26837/appeal-factories-updates branch June 15, 2023 21:59
@caseywilliams caseywilliams mentioned this pull request Jun 16, 2023
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appeals Lighthouse API appeals banana-peels Lighthouse Banana Peels Team Lighthouse lighthouse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants