Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public function ensureMenuIsOk(Client $I) |
||
11 | { |
||
12 | $menu = new SidebarMenu($I); |
||
13 | |||
14 | $menu->ensureContains('Support', [ |
||
15 | 'Tickets' => '@ticket/index', |
||
16 | 'FAQ' => '/faq/faq/index', |
||
17 | ]); |
||
18 | |||
19 | $menu->ensureDoesNotContain('Support', [ |
||
20 | 'Templates', |
||
21 | 'Tickets statistics', |
||
22 | ]); |
||
23 | } |
||
24 | } |
||
25 |