Skip to content

Commit

Permalink
Change migrations path
Browse files Browse the repository at this point in the history
  • Loading branch information
mchev committed May 24, 2024
1 parent 1600f40 commit 4e499b4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
]);
}

}

0 comments on commit 4e499b4

Please sign in to comment.