| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | public function testIndexAction(): void |
||
| 6 | { |
||
| 7 | $params = ['action' => 'index', 'controller' => 'index', 'module' => 'default']; |
||
| 8 | $url = $this->url($this->urlizeOptions($params)); |
||
| 9 | $this->dispatch($url); |
||
| 10 | |||
| 11 | // assertions |
||
| 12 | $this->assertModule($params['module']); |
||
| 13 | $this->assertController($params['controller']); |
||
| 14 | $this->assertAction($params['action']); |
||
| 15 | |||
| 16 | $this->assertRedirectTo('/activity'); |
||
| 17 | } |
||
| 19 |