Skip to content

Commit 4b2f274

Browse files
committed
updated
1 parent c7cd296 commit 4b2f274

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

_posts/2015-06-30-codeception-2.1-is-here.markdown

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,19 @@ class UserCest
4343
{
4444
$page->openProfile();
4545
$page->editProfile();
46-
$I->fillField($this->page->oldPasswordField, '123456');
47-
$I->fillField($this->page->newPasswordField, '654321');
48-
$I->fillField($this->page->passwordFieldRepeat, '654321');
49-
$I->click($this->page->saveBtn);
46+
$I->fillField($page->oldPasswordField, '123456');
47+
$I->fillField($page->newPasswordField, '654321');
48+
$I->fillField($page->passwordFieldRepeat, '654321');
49+
$I->click($page->saveBtn);
5050
$I->see('Password has been updated');
5151
}
5252

5353
// inject step object into Cest
5454
function adminUpdatePassword(\Step\Admin $I)
5555
{
56-
$I->enterAdminArea();
57-
$I->changePassword('654321');
58-
$I->see('Password has been updated');
56+
$I->enterAdminArea();
57+
$I->changePassword('654321');
58+
$I->see('Password has been updated');
5959
}
6060
}
6161
?>

0 commit comments

Comments
 (0)