Vanilla Laravel 7 for MotorradIG as motorradig2 project

This commit is contained in:
TorstenS 2020-07-19 12:56:25 +02:00
parent e5c726a0ea
commit 7b9f21e683
87 changed files with 19702 additions and 1 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;
}
}