tethys/tests/TestCase.php

19 lines
381 B
PHP
Raw Permalink Normal View History

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