Files
firefly-iii/app/tests/TestCase.php

25 lines
535 B
PHP
Raw Normal View History

2014-06-28 09:41:44 +02:00
<?php
2014-08-10 18:22:42 +02:00
/**
* Class TestCase
*/
class TestCase extends Illuminate\Foundation\Testing\TestCase {
2014-07-03 09:16:17 +02:00
/**
* 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->
}
}