firefly-iii/app/tests/TestCase.php
2014-11-18 10:33:38 +01:00

25 lines
535 B
PHP

<?php
/**
* Class TestCase
*/
class TestCase extends Illuminate\Foundation\Testing\TestCase {
/**
* Creates the application.
*
* @return \Symfony\Component\HttpKernel\HttpKernelInterface
*/
public function createApplication()
{
$unitTesting = true;
$testEnvironment = 'testing';
return require __DIR__.'/../../bootstrap/start.php';
}
public function setUp() {
parent::setUp();
Artisan::call('migrate');
$this->seed();
//$this->
}
}