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

fix(tests): restore the latest migration after migration tests #26928

Merged
merged 3 commits into from
Dec 16, 2024

Conversation

skoob13
Copy link
Contributor

@skoob13 skoob13 commented Dec 16, 2024

Problem

The migration test classes don't restore the test database to the latest migration. This causes side effects, as I have in #26767.

Changes

  • Restore the test database to the latest migration after a migration test.

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

Manual testing

@skoob13 skoob13 requested a review from Twixes December 16, 2024 13:43
@skoob13 skoob13 marked this pull request as ready for review December 16, 2024 13:43
@Twixes Twixes merged commit 16730d3 into master Dec 16, 2024
93 checks passed
@Twixes Twixes deleted the fix/migrate-to-last-migration-in-migration-tests branch December 16, 2024 23:32
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.

2 participants