You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
310 B

<?php
use Illuminate\Http\Request;
use PHPUnit\Framework\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
protected function request($method, $uri)
{
$app = require __DIR__.'/../bootstrap/app.php';
return $app->handle(Request::create($uri, $method));
}
}