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

Use Eloquent Project model for test project creation #2399

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

williamjallen
Copy link
Collaborator

The functions used to create projects for much of the test suite currently return legacy project models, even though most tests immediately convert them to Eloquent models. This make the test-writing process extra painful for most tests, and is completely unnecessary.

This PR changes the project creation functions to instead return Eloquent projects. This also removes some of the last references to the InitialSetup method in the legacy project model, which paves the way for that method to be completely removed in the follow-up to #2396.

Copy link
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

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

Tests look good in CI and locally. Nice find!

@josephsnyder josephsnyder added this pull request to the merge queue Sep 5, 2024
Merged via the queue into Kitware:master with commit f41f0f8 Sep 5, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants