diff options
author | Camil Staps | 2016-01-22 12:01:33 +0100 |
---|---|---|
committer | Camil Staps | 2016-01-22 12:01:33 +0100 |
commit | 3a74377e861c1a401f1dffbd595f547e04eb72c8 (patch) | |
tree | 505649f58784ed0e318cb46f28777173bcdc6b90 /tests/ExampleTest.php |
Initial commitlumen-app
Diffstat (limited to 'tests/ExampleTest.php')
-rw-r--r-- | tests/ExampleTest.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php new file mode 100644 index 0000000..2b206c6 --- /dev/null +++ b/tests/ExampleTest.php @@ -0,0 +1,20 @@ +<?php + +use Laravel\Lumen\Testing\DatabaseTransactions; + +class ExampleTest extends TestCase +{ + /** + * A basic test example. + * + * @return void + */ + public function testExample() + { + $this->get('/'); + + $this->assertEquals( + $this->response->getContent(), $this->app->version() + ); + } +} |