1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 17:04: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('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();