Published 11 months ago by TesterP
Has anyone got migration to work in Dusk with a MongoDB? Any special tricks needed?
I have a Mongo database with loads of data, including users with different roles and access to different parts of the data.
Instead of creating everything from scratch for every test, I want to use this database and I want to roll back to the original db afterwards (or before each test).
I read that database transactions doesn't work with Dusk, but I can't get database migration to work either.
When I add "use DatabaseMigrations;" at the beginning of a test class, all my tests get RuntimeException: aborted
Using Dusk 1.1