firefly-iii/tests/TestCase.php

29 lines
558 B
PHP
Raw Normal View History

2015-07-02 02:44:56 -05:00
<?php
2016-01-16 00:14:36 -06:00
/**
* Class TestCase
*/
2015-07-02 02:44:56 -05:00
class TestCase extends Illuminate\Foundation\Testing\TestCase
{
/**
* The base URL to use while testing the application.
*
* @var string
*/
2015-07-02 02:44:56 -05:00
protected $baseUrl = 'http://localhost';
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
2015-07-02 02:44:56 -05:00
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
2015-07-02 02:44:56 -05:00
return $app;
}
}