diff options
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'; + } +} |