Add --force flag to migrations (#1203)

This commit is contained in:
Nabeel S
2021-05-24 10:58:10 -04:00
committed by GitHub
parent 4985da991b
commit 7d8a34645e
3 changed files with 5 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ abstract class TestCase extends \Illuminate\Foundation\Testing\TestCase
Notification::fake();
Artisan::call('database:create', ['--reset' => true]);
Artisan::call('migrate:refresh', ['--env' => 'testing']);
Artisan::call('migrate:refresh', ['--env' => 'testing', '--force' => true]);
// $this->disableExceptionHandling();
}