We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff102e3 commit a490a1aCopy full SHA for a490a1a
tests/TestCase.php
@@ -62,6 +62,11 @@ public function resolveApplicationConsoleKernel($app)
62
$app->singleton('Illuminate\Contracts\Console\Kernel', Kernel::class);
63
}
64
65
+ public function artisan($command, $parameters = [])
66
+ {
67
+ parent::artisan($command, array_merge($parameters, ['--no-interaction' => true]));
68
+ }
69
+
70
public function consoleOutput()
71
{
72
return $this->consoleOutput ?: $this->consoleOutput = $this->app[Kernel::class]->output();
0 commit comments