2014-06-28 02:41:44 -05:00
|
|
|
<?php
|
|
|
|
|
2014-08-10 11:22:42 -05:00
|
|
|
/**
|
|
|
|
* Class TestCase
|
|
|
|
*/
|
2014-11-18 03:18:50 -06:00
|
|
|
class TestCase extends Illuminate\Foundation\Testing\TestCase {
|
2014-07-03 02:16:17 -05:00
|
|
|
/**
|
|
|
|
* Creates the application.
|
|
|
|
*
|
|
|
|
* @return \Symfony\Component\HttpKernel\HttpKernelInterface
|
|
|
|
*/
|
|
|
|
public function createApplication()
|
|
|
|
{
|
|
|
|
$unitTesting = true;
|
|
|
|
$testEnvironment = 'testing';
|
2014-11-18 03:18:50 -06:00
|
|
|
return require __DIR__.'/../../bootstrap/start.php';
|
2014-08-21 00:21:56 -05:00
|
|
|
}
|
2014-11-18 03:33:38 -06:00
|
|
|
|
|
|
|
public function setUp() {
|
|
|
|
parent::setUp();
|
|
|
|
Artisan::call('migrate');
|
|
|
|
$this->seed();
|
|
|
|
//$this->
|
|
|
|
}
|
2014-11-18 03:18:50 -06:00
|
|
|
}
|