Update::updatePrices()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 12

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 9.8666
c 0
b 0
f 0
cc 1
nc 1
nop 0
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