commit test docker

This commit is contained in:
Pauline Srifi
2022-11-09 15:49:24 +01:00
parent e5fe5ce666
commit a1ec024f4f
129 changed files with 14742 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?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;
}
}