mirror of
https://github.com/elyby/accounts.git
synced 2026-04-22 13:50:21 +05:30
Реорганизован процесс авторизации для функциональных тестов
This commit is contained in:
@@ -27,7 +27,7 @@ class AccountsChangePasswordCest {
|
||||
|
||||
public function testChangePassword(FunctionalTester $I) {
|
||||
$I->wantTo('change my password');
|
||||
$I->loggedInAsActiveAccount();
|
||||
$I->amAuthenticated();
|
||||
|
||||
$this->route->changePassword('password_0', 'new-password', 'new-password');
|
||||
$I->canSeeResponseCodeIs(200);
|
||||
|
||||
Reference in New Issue
Block a user