ExampleTest.php 390B

12345678910111213141516171819202122
  1. <?php
  2. use Laravel\Lumen\Testing\DatabaseMigrations;
  3. use Laravel\Lumen\Testing\DatabaseTransactions;
  4. class ExampleTest extends TestCase
  5. {
  6. /**
  7. * A basic test example.
  8. *
  9. * @return void
  10. */
  11. public function testExample()
  12. {
  13. $this->get('/');
  14. $this->assertEquals(
  15. $this->app->version(), $this->response->getContent()
  16. );
  17. }
  18. }