Remove CreatesApplication Trait

This commit is contained in:
philipp lang 2024-12-12 13:56:13 +01:00
parent 10deaf15a1
commit 0a5590d533
2 changed files with 0 additions and 23 deletions

View File

@ -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;
}
}

View File

@ -21,7 +21,6 @@ use Zoomyboy\TableDocument\TestsExcelDocuments;
class TestCase extends BaseTestCase
{
use CreatesApplication;
use TestsInertia;
use MakesHttpCalls;
use TestsExcelDocuments;