Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | protected function getEnvironmentSetUp($app) |
||
17 | { |
||
18 | $app->singleton( |
||
19 | \Illuminate\Contracts\Debug\ExceptionHandler::class, |
||
20 | \SMartins\Exceptions\Tests\Fixtures\Exceptions\Handler::class |
||
21 | ); |
||
22 | |||
23 | // Setup default database to use sqlite :memory: |
||
24 | $app['config']->set('database.default', 'exceptions'); |
||
25 | $app['config']->set('database.connections.exceptions', [ |
||
26 | 'driver' => 'sqlite', |
||
27 | 'database' => ':memory:', |
||
28 | ]); |
||
38 |