| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function testIndex() |
||
| 11 | { |
||
| 12 | $client = static::createClient(); |
||
| 13 | |||
| 14 | $client->request( 'GET', '/admin' ); |
||
| 15 | $response = $client->getResponse(); |
||
| 16 | |||
| 17 | $this->assertEquals( 200, $response->getStatusCode() ); |
||
| 18 | $this->assertStringContainsString( '<form class="login"', $response->getContent() ); |
||
| 19 | } |
||
| 21 |