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

ConfirmEmailCest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A ensureIGetErrorsWhenRequiredParamsIsNotPassed() 0 11 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