Update   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A updatePrices() 0 12 1
1
<?php
2
/**
3
 * Finance module for HiPanel
4
 *
5
 * @link      https://github.com/hiqdev/hipanel-module-finance
6
 * @package   hipanel-module-finance
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2015-2019, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hipanel\modules\finance\tests\_support\Page\price\certificate;
12
13
class Update extends Create
14
{
15
    public function updatePrices(): void
16
    {
17
        $I = $this->tester;
18
19
        $this->loadPage();
20
        $I->click('Update');
21
        $I->waitForText('Update');
22
        $this->fillRandomPrices('');
23
        $I->click('Save');
24
        $I->closeNotification('Prices were successfully updated');
25
        $this->seeRandomPrices();
26
    }
27
}
28