diff --git a/tests/TestCase.php b/tests/TestCase.php index 8f6d247..2371609 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -23,13 +23,14 @@ protected function getPackageProviders($app): array } /** - * run package database migrations. + * Run package database migrations. */ protected function setUp(): void { parent::setUp(); - $this->loadMigrationsFrom(__DIR__ . '../migrations'); - $this->loadMigrationsFrom(dirname(__DIR__) . '../migrations'); + $this->loadMigrationsFrom([ + '--path' => realpath(__DIR__.'/../database/migrations'), + ]); } } \ No newline at end of file