]> BookStack Code Mirror - bookstack/blob - tests/TestCase.php
Initial commit
[bookstack] / tests / TestCase.php
1 <?php
2
3 class TestCase extends Illuminate\Foundation\Testing\TestCase
4 {
5     /**
6      * The base URL to use while testing the application.
7      *
8      * @var string
9      */
10     protected $baseUrl = 'http://localhost';
11
12     /**
13      * Creates the application.
14      *
15      * @return \Illuminate\Foundation\Application
16      */
17     public function createApplication()
18     {
19         $app = require __DIR__.'/../bootstrap/app.php';
20
21         $app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
22
23         return $app;
24     }
25 }