TESTING #1931 @1h: add few tests

This commit is contained in:
Michal Kváček
2016-10-25 16:51:11 +02:00
parent cc999dd24e
commit e25f47a511
8 changed files with 177 additions and 52 deletions
+6 -2
View File
@@ -1,6 +1,10 @@
<?php
namespace Tests;
class TestCase extends Illuminate\Foundation\Testing\TestCase
use Illuminate\Contracts\Console\Kernel;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
class TestCase extends BaseTestCase
{
/**
* The base URL to use while testing the application.
@@ -18,7 +22,7 @@ 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;
}