2015-07-19 06:49:24 +00:00
|
|
|
<?php
|
2021-02-26 16:02:07 +00:00
|
|
|
namespace Tests;
|
2015-07-19 06:49:24 +00:00
|
|
|
|
2021-02-26 16:02:07 +00:00
|
|
|
use Illuminate\Contracts\Console\Kernel;
|
|
|
|
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
|
|
|
|
|
|
|
abstract class TestCase extends BaseTestCase
|
2019-01-16 13:21:03 +00:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Creates the application.
|
|
|
|
*
|
|
|
|
* @return \Illuminate\Foundation\Application
|
|
|
|
*/
|
|
|
|
public function createApplication()
|
|
|
|
{
|
2021-02-26 16:02:07 +00:00
|
|
|
$app = require __DIR__ . '/../bootstrap/app.php';
|
|
|
|
$app->make(Kernel::class)->bootstrap();
|
2019-01-16 13:21:03 +00:00
|
|
|
return $app;
|
|
|
|
}
|
2015-07-19 06:49:24 +00:00
|
|
|
}
|