expressolivretools / tests / ExampleTest.php @ ab2f5151
Histórico | Ver | Anotar | Baixar (390 Bytes)
1 | 3e379cec | Alexandre Correia | <?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 | } |