update Laravel 5

This commit is contained in:
Malibu
2015-02-12 13:25:15 +01:00
parent 1ae83d28e6
commit 822a583633
180 changed files with 18832 additions and 1173 deletions

17
SRC/tests/ExampleTest.php Normal file
View File

@ -0,0 +1,17 @@
<?php
class ExampleTest extends TestCase {
/**
* A basic functional test example.
*
* @return void
*/
public function testBasicExample()
{
$response = $this->call('GET', '/');
$this->assertEquals(200, $response->getStatusCode());
}
}

19
SRC/tests/TestCase.php Normal file
View File

@ -0,0 +1,19 @@
<?php
class TestCase extends Illuminate\Foundation\Testing\TestCase {
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();
return $app;
}
}