-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
ResetDatabase doesn't work with sqlite DB #46
Comments
Thanks @anjeylink - I'll add this check and look into running the test suite against sqlite as well to see if there are any other issues. |
@anjeylink, I added a fix but discovered an edge case where the test suite fails when using the FoundryBundle and DAMADoctrineTestBundle together (#49). I need to investigate further. If you aren't using DAMADoctrineTestBundle, sqlite should work as expected now. |
@kbond thx ! |
@kbond will be there a release for this fix soon? |
Thanks for reminding me: v1.2.1 |
Error occurs when run tests using
ResetDatabase
trait together with sqliteLooks like it's dbal issue.
In
\Zenstruck\Foundry\Test\DatabaseResetter::runCommand
I added check for sqllite, but I'm not sure if bundle should be responsible for checking this though.The text was updated successfully, but these errors were encountered: