Skip to content

Commit

Permalink
Fix migrations path
Browse files Browse the repository at this point in the history
  • Loading branch information
cerbero90 committed Oct 25, 2024
1 parent c43059c commit dea5f37
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
use Illuminate\Translation\FileLoader;
use Orchestra\Testbench\TestCase as OrchestraTestCase;

use function Orchestra\Testbench\package_path;

/**
* The package test suite.
*/
Expand Down Expand Up @@ -50,7 +48,7 @@ protected function setUp(): void
*/
protected function defineDatabaseMigrations(): void
{
$this->loadMigrationsFrom(package_path('tests/database/migrations'));
$this->loadMigrationsFrom(__DIR__ . '/database/migrations');
}

/**
Expand Down

0 comments on commit dea5f37

Please sign in to comment.