Skip to content

Commit

Permalink
Revert changes to Commander
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Apr 8, 2024
1 parent 5089648 commit d842287
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Console/Commander.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
use Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray;
use Orchestra\Testbench\Foundation\Config;
use Orchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFiles;
use Orchestra\Testbench\Foundation\Env;
use Orchestra\Testbench\Foundation\TestbenchServiceProvider;
use Orchestra\Testbench\Workbench\Workbench;
use Symfony\Component\Console\Application as ConsoleApplication;
Expand Down Expand Up @@ -101,10 +100,6 @@ public function handle(): void
$laravel = $this->laravel();
$kernel = $laravel->make(ConsoleKernel::class);

if (Env::has('TESTBENCH_PACKAGE_TESTER') === false && $laravel->runningUnitTests() === true) {
$laravel->instance('env', 'workbench');
}

$this->prepareCommandSignals();

$status = $kernel->handle($input, $output);
Expand Down

0 comments on commit d842287

Please sign in to comment.