mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
25 lines
535 B
PHP
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->
|
|
}
|
|
} |