Дописаны недостающие тесты для форм смены E-mail адреса

This commit is contained in:
ErickSkrauch
2016-05-16 23:09:44 +03:00
parent f99b281f30
commit 6c74e23157
5 changed files with 100 additions and 2 deletions

View File

@@ -35,4 +35,19 @@ class AccountsRoute extends BasePage {
$this->actor->sendPOST($this->getUrl());
}
public function changeEmailSubmitNewEmail($key = null, $email = null) {
$this->route = ['accounts/change-email-submit-new-email'];
$this->actor->sendPOST($this->getUrl(), [
'key' => $key,
'email' => $email,
]);
}
public function changeEmailConfirmNewEmail($key = null) {
$this->route = ['accounts/change-email-confirm-new-email'];
$this->actor->sendPOST($this->getUrl(), [
'key' => $key,
]);
}
}