| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | public function testIndexAction(): void |
||
| 8 | { |
||
| 9 | $params = ['action' => 'index', 'controller' => 'faq', 'module' => 'default']; |
||
| 10 | $url = $this->url($this->urlizeOptions($params)); |
||
| 11 | $this->dispatch($url); |
||
| 12 | |||
| 13 | // assertions |
||
| 14 | $this->assertModule($params['module']); |
||
| 15 | $this->assertController($params['controller']); |
||
| 16 | $this->assertAction($params['action']); |
||
| 17 | |||
| 18 | $this->assertQueryContentContains('li', 'Create an account'); |
||
| 19 | $this->assertQueryContentContains('ul.statusHelp li', 'I want to see this movie'); |
||
| 20 | } |
||
| 22 |