This commit is contained in:
Olusesan Ameye
2020-09-07 10:33:03 -04:00
parent c2d2897ad8
commit 4c6d4d98f0
401 changed files with 47976 additions and 1 deletions
+22
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;
}
}