Routes to home controller setup

This commit is contained in:
amazing-username
2017-05-24 13:32:05 -05:00
commit 9a289c54f5
84 changed files with 6403 additions and 0 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;
}
}