latest test updates

This commit is contained in:
Mark Gregory
2026-06-15 11:59:41 +01:00
parent 1fd9be097e
commit 330d6922a4
4 changed files with 88 additions and 20 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
use Illuminate\Foundation\Application;
trait CreatesApplication
{
/**
* Creates the application.
*/
public function createApplication(): Application
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make(Kernel::class)->bootstrap();
return $app;
}
}