Completed
Pull Request — master (#4)
by Klochok
02:36
created

ensureIGetErrorsWhenRequiredParamsIsNotPassed()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 9.9
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace hiam\mrdp\tests\acceptance;
4
5
use hiam\tests\_support\AcceptanceTester;
6
7
class ConfirmEmailCest
8
{
9
    public function ensureIGetErrorsWhenRequiredParamsIsNotPassed(AcceptanceTester $I)
10
    {
11
        $I->wantTo('check when url without required params has an validation error.');
12
        $I->amOnPage('/registration/confirm');
13
        $I->see('Id cannot be blank');
14
        $I->see('Client cannot be blank');
15
        $I->see('Email cannot be blank');
16
        $I->see('What cannot be blank');
17
        $I->see('Salt cannot be blank');
18
        $I->see('Hash cannot be blank');
19
    }
20
}
21