Skip to content

Conversation

@rosalieper
Copy link
Contributor

Bug: T392807

@rosalieper
Copy link
Contributor Author

I fixed the failing test by adding forceDelete() on the wiki created during the test. I wish using RefreshDatabase did the thing but in the case of testSavesEntityCountsCorrectly I have no idea why there is no DB cleanup after the tests. In anycase, I will love to know another way around this but I am ok with this moving foward as is as this hack is just about cleaning up the DB after a test.

@deer-wmde
Copy link
Contributor

I fixed the failing test by adding forceDelete() on the wiki created during the test. I wish using RefreshDatabase did the thing but in the case of testSavesEntityCountsCorrectly I have no idea why there is no DB cleanup after the tests. In anycase, I will love to know another way around this but I am ok with this moving foward as is as this hack is just about cleaning up the DB after a test.

I tried to solve this, but I also couldn't figure it out. I am also okay with moving forward.

@rosalieper rosalieper merged commit d551359 into main Sep 3, 2025
5 checks passed
@rosalieper rosalieper deleted the T392807-entity-count branch September 3, 2025 07:20
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.

3 participants