2014-06-28 09:41:44 +02:00
|
|
|
<?php
|
|
|
|
|
|
2014-08-10 18:22:42 +02:00
|
|
|
/**
|
|
|
|
|
* Class TestCase
|
|
|
|
|
*/
|
2014-11-18 10:18:50 +01:00
|
|
|
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';
|
2014-11-18 10:18:50 +01:00
|
|
|
return require __DIR__.'/../../bootstrap/start.php';
|
2014-08-21 07:21:56 +02:00
|
|
|
}
|
2014-11-18 10:33:38 +01:00
|
|
|
|
|
|
|
|
public function setUp() {
|
|
|
|
|
parent::setUp();
|
|
|
|
|
Artisan::call('migrate');
|
|
|
|
|
$this->seed();
|
|
|
|
|
//$this->
|
|
|
|
|
}
|
2014-11-18 10:18:50 +01:00
|
|
|
}
|