Remove CreatesApplication Trait
This commit is contained in:
parent
10deaf15a1
commit
0a5590d533
|
@ -1,22 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace Tests;
|
|
||||||
|
|
||||||
use Illuminate\Contracts\Console\Kernel;
|
|
||||||
|
|
||||||
trait CreatesApplication
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Creates the application.
|
|
||||||
*
|
|
||||||
* @return \Illuminate\Foundation\Application
|
|
||||||
*/
|
|
||||||
public function createApplication()
|
|
||||||
{
|
|
||||||
$app = require __DIR__.'/../bootstrap/app.php';
|
|
||||||
|
|
||||||
$app->make(Kernel::class)->bootstrap();
|
|
||||||
|
|
||||||
return $app;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -21,7 +21,6 @@ use Zoomyboy\TableDocument\TestsExcelDocuments;
|
||||||
|
|
||||||
class TestCase extends BaseTestCase
|
class TestCase extends BaseTestCase
|
||||||
{
|
{
|
||||||
use CreatesApplication;
|
|
||||||
use TestsInertia;
|
use TestsInertia;
|
||||||
use MakesHttpCalls;
|
use MakesHttpCalls;
|
||||||
use TestsExcelDocuments;
|
use TestsExcelDocuments;
|
||||||
|
|
Loading…
Reference in New Issue