2015-03-12 10:44:39 +10:00
|
|
|
<?php
|
2018-03-25 13:15:34 +11:00
|
|
|
abstract class TestCase extends Illuminate\Foundation\Testing\TestCase
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* The base URL to use while testing the application.
|
|
|
|
|
*
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
2021-09-29 21:01:34 +10:00
|
|
|
protected $baseUrl = 'http://ninja-master.test:8000';
|
2018-03-25 13:15:34 +11:00
|
|
|
/**
|
|
|
|
|
* Creates the application.
|
|
|
|
|
*
|
|
|
|
|
* @return \Illuminate\Foundation\Application
|
|
|
|
|
*/
|
|
|
|
|
public function createApplication()
|
|
|
|
|
{
|
|
|
|
|
$app = require __DIR__.'/../bootstrap/app.php';
|
|
|
|
|
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
|
|
|
|
|
return $app;
|
|
|
|
|
}
|
|
|
|
|
}
|