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

Clean up test fixtures #366

Merged
merged 5 commits into from Apr 7, 2022
Merged

Clean up test fixtures #366

merged 5 commits into from Apr 7, 2022

Conversation

joemasilotti
Copy link
Owner

@joemasilotti joemasilotti commented Apr 6, 2022

This PR addresses #363 by removing, renaming, and narrowing the scope of a lot of fixtures. The goal is to keep at most 3 but ideally 2 fixtures per class. If anything else more specific is needed for tests then that record should be created manually or an existing fixture should be modified.

To do

  • Clean up fixtures
  • Fix failing tests in test/models/
  • Fix failing tests in test/components/
  • Fix failing tests in test/system/
  • Fix failing tests in test/policies/
  • Fix failing tests in test/queries/

Pull request checklist

  • Your code contains tests relevant for code you modified
  • You have linted and tested the project with bin/check
  • You have added significant changes and product updates to the changelog

@joemasilotti joemasilotti marked this pull request as ready for review April 7, 2022 03:45
@joemasilotti joemasilotti merged commit 47c7fd3 into main Apr 7, 2022
5 checks passed
@joemasilotti joemasilotti deleted the clean-up-test-fixtures branch April 7, 2022 03:45
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.

None yet

1 participant