Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Docs] Listen to DatabaseRefreshed rather than MigrationsEnded in Tes…
…tCase (#2492) Listening to `DatabaseRefreshed` event rather than `MigrationsEnded` can avoid issues during testing after `artisan schema:dump` command has been executed. In fact, `MigrationsEnded` is not called when the migration is based on a `mysql-schema.sql` file and has no migration executed anymore. `DatabaseRefreshed` is always executed in both cases.
- Loading branch information