| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function testSitemapShowsNavigationTitleNotNormalTitle() |
||
| 28 | { |
||
| 29 | $response = $this->get('sitemap'); |
||
| 30 | $parser = new CSSContentParser($response->getBody()); |
||
| 31 | $elements = $parser->getBySelector('.sitemap li.first .sitemap-link'); |
||
| 32 | $this->assertNotEmpty($elements); |
||
| 33 | $this->assertEquals('Top page nav 1', (string) $elements[0]); |
||
| 34 | } |
||
| 36 |