From dea5f375e27b7c42374abf02a5ea0cbcfd4a5a47 Mon Sep 17 00:00:00 2001 From: Andrea Marco Sartori Date: Fri, 25 Oct 2024 03:31:04 -0300 Subject: [PATCH] Fix migrations path --- tests/TestCase.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index 9c73c20..7c17758 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -9,8 +9,6 @@ use Illuminate\Translation\FileLoader; use Orchestra\Testbench\TestCase as OrchestraTestCase; -use function Orchestra\Testbench\package_path; - /** * The package test suite. */ @@ -50,7 +48,7 @@ protected function setUp(): void */ protected function defineDatabaseMigrations(): void { - $this->loadMigrationsFrom(package_path('tests/database/migrations')); + $this->loadMigrationsFrom(__DIR__ . '/database/migrations'); } /**