diff --git a/tests/TestCase.php b/tests/TestCase.php index 0d377197..37592f79 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -9,7 +9,11 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase { */ public function createApplication() { - return require __DIR__.'/../bootstrap/app.php'; + $app = require __DIR__.'/../bootstrap/app.php'; + + $app->make('Illuminate\Contracts\Http\Kernel')->bootstrap(); + + return $app; } }