diff --git a/tests/TestCase.php b/tests/TestCase.php index c086cfe..7852b14 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -24,6 +24,16 @@ protected function defineEnvironment($app) ]); } + /** + * Define database migrations. + */ + protected function defineDatabaseMigrations(): void + { + $this->loadLaravelMigrations(); + $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); + $this->loadMigrationsFrom(__DIR__ . '/Migrations'); + } + /** * @param \Illuminate\Foundation\Application $app * @return array