mirror of
https://github.com/elyby/accounts.git
synced 2026-04-15 02:13:59 +05:30
Extract login logics into a separate component. Not quite clean result but enough for upcoming tasks
This commit is contained in:
@@ -156,7 +156,7 @@ class AuthorizationCest {
|
||||
$I->canSeeResponseIsJson();
|
||||
$I->canSeeResponseContainsJson([
|
||||
'error' => 'ForbiddenOperationException',
|
||||
'errorMessage' => 'Invalid credentials. Invalid nickname or password.',
|
||||
'errorMessage' => 'Invalid credentials. Invalid username or password.',
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -170,7 +170,7 @@ class AuthorizationCest {
|
||||
$I->canSeeResponseCodeIs(401);
|
||||
$I->canSeeResponseContainsJson([
|
||||
'error' => 'ForbiddenOperationException',
|
||||
'errorMessage' => 'Invalid credentials. Invalid nickname or password.',
|
||||
'errorMessage' => 'Invalid credentials. Invalid username or password.',
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user