6d52da8a9b
* updated dependencies * updated LV version to 5.6 * added object storage for assets Change-Id: I9a66563c925fe6f70c4f7703f13867caa30b8fb7
22 lines
430 B
PHP
22 lines
430 B
PHP
<?php namespace Tests;
|
|
use Illuminate\Contracts\Console\Kernel;
|
|
/**
|
|
* Trait CreatesApplication
|
|
* @package Tests
|
|
*/
|
|
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;
|
|
}
|
|
} |