1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 20:34:03 +00:00
This commit is contained in:
Samuel Štancl 2019-08-10 10:53:08 +02:00
parent 8f41fbfc43
commit de30f375a6

View file

@ -23,9 +23,12 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
Redis::connection('tenancy')->flushdb(); Redis::connection('tenancy')->flushdb();
Redis::connection('cache')->flushdb(); Redis::connection('cache')->flushdb();
Artisan::call('migrate:fresh'); Artisan::call('migrate:fresh', [
$this->loadLaravelMigrations(); '--path' => __DIR__ . '/../src/assets/migrations'
$this->loadMigrationsFrom(__DIR__ . '/../src/assets/migrations'); ]);
dd(Artisan::output());
// $this->loadLaravelMigrations();
// $this->loadMigrationsFrom(__DIR__ . '/../src/assets/migrations');
if ($this->autoCreateTenant) { if ($this->autoCreateTenant) {
$this->createTenant(); $this->createTenant();