Исправлены тесты для формы инициализации смены E-mail адреса

This commit is contained in:
ErickSkrauch
2016-05-23 21:27:09 +03:00
parent 1b4249ecd7
commit 3d6d9d484c
3 changed files with 9 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ class AccountsChangeEmailInitializeCest {
$I->wantTo('send current email confirmation');
$I->loggedInAsActiveAccount();
$this->route->changeEmailInitialize();
$this->route->changeEmailInitialize('password_0');
$I->canSeeResponseCodeIs(200);
$I->canSeeResponseIsJson();
$I->canSeeResponseContainsJson([
@@ -32,7 +32,7 @@ class AccountsChangeEmailInitializeCest {
$I->wantTo('see, that account use old account password hash strategy');
$I->loggedInAsActiveAccount('AccWithOldPassword', '12345678');
$this->route->changeEmailInitialize();
$this->route->changeEmailInitialize('password_0');
$I->canSeeResponseCodeIs(200);
$I->canSeeResponseIsJson();
$I->canSeeResponseContainsJson([