From de30f375a677bc8546bbfed3ddd9665231cca14e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sat, 10 Aug 2019 10:53:08 +0200 Subject: [PATCH] wip --- tests/TestCase.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index 02f69c66..0fd30934 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -23,9 +23,12 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase Redis::connection('tenancy')->flushdb(); Redis::connection('cache')->flushdb(); - Artisan::call('migrate:fresh'); - $this->loadLaravelMigrations(); - $this->loadMigrationsFrom(__DIR__ . '/../src/assets/migrations'); + Artisan::call('migrate:fresh', [ + '--path' => __DIR__ . '/../src/assets/migrations' + ]); + dd(Artisan::output()); + // $this->loadLaravelMigrations(); + // $this->loadMigrationsFrom(__DIR__ . '/../src/assets/migrations'); if ($this->autoCreateTenant) { $this->createTenant();