18 lines
402 B
PHP
18 lines
402 B
PHP
<?php
|
|
|
|
use Laravel\Lumen\Testing\DatabaseMigrations;
|
|
use Laravel\Lumen\Testing\DatabaseTransactions;
|
|
|
|
abstract class TestCase extends Laravel\Lumen\Testing\TestCase
|
|
{
|
|
use DatabaseMigrations;
|
|
/**
|
|
* Creates the application.
|
|
*
|
|
* @return \Laravel\Lumen\Application
|
|
*/
|
|
public function createApplication()
|
|
{
|
|
return require __DIR__.'/../bootstrap/app.php';
|
|
}
|
|
}
|