laracoft's avatar
Level 27

Test using `LazilyRefreshDatabase` fails after `DatabaseMigrations`

If PHPUnit runs a test 1 use DatabaseMigrations and then run test 2 that use LazilyRefreshDatabase, my test 2 always fails. But if I only run my test 2, it passes.

Have you guys encountered the same? How do you handle this situation?

0 likes
0 replies

Please or to participate in this conversation.