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