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

Tests that use sandbox db do not clear state after finishing #317

Open
jauggy opened this issue Jun 9, 2024 · 0 comments
Open

Tests that use sandbox db do not clear state after finishing #317

jauggy opened this issue Jun 9, 2024 · 0 comments
Labels
bug Something isn't working low priority

Comments

@jauggy
Copy link
Member

jauggy commented Jun 9, 2024

Context

When you add a user to the sandbox db when running a test it should clear at the end of that test so the user doesn't exist in the next test run. Currently state is kept causing test failure.

Test Steps

Checkout this draft PR #316
Run the unit test

mix test path/to/clear_db_each_test.exs

It currently fails. Even though I made that PR I have no idea how to solve it so would appreciate if someone can figure it out. If you manage to solve it feel free to open your own PR and I'll close my draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority
Projects
None yet
Development

No branches or pull requests

2 participants