Organize tests.

This commit is contained in:
Taylor Otwell
2016-11-29 15:48:33 -06:00
parent 7b318939c9
commit 08eefbcc11
5 changed files with 41 additions and 12 deletions

View File

@@ -1,6 +1,11 @@
<?php
abstract class TestCase extends Illuminate\Foundation\Testing\TestCase
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
/**
* The base URL to use while testing the application.
@@ -18,7 +23,7 @@ abstract class TestCase extends Illuminate\Foundation\Testing\TestCase
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
$app->make(Kernel::class)->bootstrap();
return $app;
}