Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function testUserAction(): void |
||
27 | { |
||
28 | $params = ['action' => 'index', 'controller' => 'activity', 'module' => 'default', 'user' => $this->testUser->id]; |
||
|
|||
29 | $url = $this->url($this->urlizeOptions($params)); |
||
30 | $this->dispatch($url); |
||
31 | |||
32 | // assertions |
||
33 | $this->assertCommonThings($params); |
||
34 | |||
35 | $this->assertQueryContentContains('h2', 'Activity for'); |
||
36 | } |
||
50 |