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