Use the console kernel.
This commit is contained in:
@@ -11,7 +11,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase {
|
|||||||
{
|
{
|
||||||
$app = require __DIR__.'/../bootstrap/app.php';
|
$app = require __DIR__.'/../bootstrap/app.php';
|
||||||
|
|
||||||
$app->make('Illuminate\Contracts\Http\Kernel')->bootstrap();
|
$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();
|
||||||
|
|
||||||
return $app;
|
return $app;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user