Commit f6612214 authored by Taylor Otwell's avatar Taylor Otwell

Bootstrap the application when testing.

parent 55965c73
......@@ -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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment