22 lines
390 B
PHP
22 lines
390 B
PHP
<?php
|
|
|
|
use Laravel\Lumen\Testing\DatabaseMigrations;
|
|
use Laravel\Lumen\Testing\DatabaseTransactions;
|
|
|
|
class ExampleTest extends TestCase
|
|
{
|
|
/**
|
|
* A basic test example.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testExample()
|
|
{
|
|
$this->get('/');
|
|
|
|
$this->assertEquals(
|
|
$this->app->version(), $this->response->getContent()
|
|
);
|
|
}
|
|
}
|