first commit

This commit is contained in:
Gitea
2017-07-18 08:57:31 +02:00
commit 59ac39008d
240 changed files with 72442 additions and 0 deletions

22
tests/CreatesApplication.php Executable file
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;
}
}