You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
411 B
22 lines
411 B
2 years ago
|
<?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()
|
||
|
);
|
||
|
}
|
||
|
}
|