From 7a5ed865e7689a48006a2cadfef0c30aa32444ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sat, 10 Aug 2019 13:11:30 +0200 Subject: [PATCH] wip --- tests/TestCase.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index 944943b4..1902af34 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -23,12 +23,10 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase Redis::connection('tenancy')->flushdb(); Redis::connection('cache')->flushdb(); - Artisan::call('migrate:fresh', [ - '--path' => __DIR__ . '/../src/assets/migrations' - ]); - // dd(Artisan::output()); // $this->loadLaravelMigrations(); - // $this->loadMigrationsFrom(__DIR__ . '/../src/assets/migrations'); + $this->loadMigrationsFrom(__DIR__ . '/../src/assets/migrations'); + Artisan::call('migrate:fresh'); + // dd(Artisan::output()); if ($this->autoCreateTenant) { $this->createTenant(); @@ -102,7 +100,6 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase tenancy()->setStorageDriver(DatabaseStorageDriver::class); } - } protected function getPackageProviders($app)