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