From 4e499b4ee83fd18f605d57982e3b81c7c4d33c6e Mon Sep 17 00:00:00 2001 From: mchev Date: Fri, 24 May 2024 09:48:41 +0200 Subject: [PATCH] Change migrations path --- tests/TestCase.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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