diff options
author | Camil Staps | 2016-01-04 15:12:59 +0100 |
---|---|---|
committer | Camil Staps | 2016-01-04 15:12:59 +0100 |
commit | 9c4afbed2310aa0c4679d11b9f568c234d202554 (patch) | |
tree | 65e8956b671239f2ec38789ce59a4cea9af0ebc2 /tests |
Initial commit
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ExampleTest.php | 15 | ||||
-rw-r--r-- | tests/TestCase.php | 14 |
2 files changed, 29 insertions, 0 deletions
diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php new file mode 100644 index 0000000..67c9299 --- /dev/null +++ b/tests/ExampleTest.php @@ -0,0 +1,15 @@ +<?php + +class ExampleTest extends TestCase +{ + /** + * A basic test example. + * + * @return void + */ + public function testBasicExample() + { + $this->visit('/') + ->see('Lumen.'); + } +} diff --git a/tests/TestCase.php b/tests/TestCase.php new file mode 100644 index 0000000..651d9cb --- /dev/null +++ b/tests/TestCase.php @@ -0,0 +1,14 @@ +<?php + +class TestCase extends Laravel\Lumen\Testing\TestCase +{ + /** + * Creates the application. + * + * @return \Laravel\Lumen\Application + */ + public function createApplication() + { + return require __DIR__.'/../bootstrap/app.php'; + } +} |