author | durandn |
Mon, 03 Aug 2015 14:17:03 +0200 | |
changeset 69 | be6fde8f0ef9 |
parent 0 | 1afc9d2ab94d |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
||
3 |
class TestCase extends Illuminate\Foundation\Testing\TestCase |
|
4 |
{ |
|
5 |
/** |
|
6 |
* Creates the application. |
|
7 |
* |
|
8 |
* @return \Illuminate\Foundation\Application |
|
9 |
*/ |
|
10 |
public function createApplication() |
|
11 |
{ |
|
12 |
$app = require __DIR__.'/../bootstrap/app.php'; |
|
13 |
||
14 |
$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap(); |
|
15 |
||
16 |
return $app; |
|
17 |
} |
|
18 |
} |