first commit

This commit is contained in:
2013-09-07 02:26:24 +02:00
commit 6d715e4090
72 changed files with 18760 additions and 0 deletions

17
app/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()
{
$crawler = $this->client->request('GET', '/');
$this->assertTrue($this->client->getResponse()->isOk());
}
}

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

@@ -0,0 +1,19 @@
<?php
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';
}
}