TicketSidebarMenuCest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A ensureMenuIsOk() 0 8 1
1
<?php
2
3
namespace hipanel\modules\ticket\tests\acceptance\seller;
4
5
use hipanel\tests\_support\Page\SidebarMenu;
6
use hipanel\tests\_support\Step\Acceptance\Seller;
7
8
class TicketSidebarMenuCest
9
{
10
    public function ensureMenuIsOk(Seller $I)
11
    {
12
        (new SidebarMenu($I))->ensureContains('Support', [
13
            'Tickets' => '@ticket/index',
14
            'Templates' => '@ticket/template/index',
15
            'Tickets statistics' => '/ticket/statistic/index',
16
        ]);
17
    }
18
}
19