TESTING #1931 @1h: add few tests
This commit is contained in:
+6
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user