mirror of
https://github.com/elyby/accounts.git
synced 2026-04-25 16:52:45 +05:30
Реорганизован процесс авторизации для функциональных тестов
This commit is contained in:
@@ -8,7 +8,7 @@ class LogoutCest {
|
||||
public function testLoginEmailOrUsername(FunctionalTester $I) {
|
||||
$route = new AuthenticationRoute($I);
|
||||
|
||||
$I->loggedInAsActiveAccount();
|
||||
$I->amAuthenticated();
|
||||
$route->logout();
|
||||
$I->canSeeResponseContainsJson([
|
||||
'success' => true,
|
||||
|
||||
Reference in New Issue
Block a user