Dec 24, 2024
0
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?
Please or to participate in this conversation.