Реализовано автоматическое обновление алгоритма хэширования пароля во время авторизации пользователя

This commit is contained in:
ErickSkrauch committed 2016-05-23 22:42:50 +03:00
1 parent 3d6d9d484c
commit fe2c422621
3 files changed
+38 -18

No files matched your search

@@ -28,19 +28,4 @@ class AccountsChangeEmailInitializeCest {
]);
}
public function testChangeEmailWithOldPasswordStrategy(FunctionalTester $I) {
$I->wantTo('see, that account use old account password hash strategy');
$I->loggedInAsActiveAccount('AccWithOldPassword', '12345678');
$this->route->changeEmailInitialize('password_0');
$I->canSeeResponseCodeIs(200);
$I->canSeeResponseIsJson();
$I->canSeeResponseContainsJson([
'success' => false,
'errors' => [
'email' => 'error.old_hash_strategy',
],
]);
}
}