Files
firefly-iii/tests/TestCase.php

24 lines
411 B
PHP
Raw Normal View History

2015-02-06 04:39:52 +01:00
<?php
2015-02-11 07:35:10 +01:00
/**
* Class TestCase
*/
class TestCase extends Illuminate\Foundation\Testing\TestCase
{
2015-02-06 04:39:52 +01:00
2015-02-11 07:35:10 +01:00
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
2015-03-13 08:44:07 +01:00
$app = require __DIR__ . '/../bootstrap/app.php';
2015-02-06 04:39:52 +01:00
2015-02-11 07:35:10 +01:00
$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();
2015-02-06 04:39:52 +01:00
2015-02-11 07:35:10 +01:00
return $app;
}
2015-02-06 04:39:52 +01:00
}