Реорганизован процесс авторизации для функциональных тестов

This commit is contained in:
ErickSkrauch committed 2017-01-24 02:00:08 +03:00
1 parent 4695b6e724
commit fbaf48591f
21 files changed
+44 -52

No files matched your search

@@ -16,7 +16,7 @@ class TwoFactorAuthCredentialsCest {
}
public function testGetCredentials(FunctionalTester $I) {
$I->loggedInAsActiveAccount();
$I->amAuthenticated();
$this->route->credentials();
$I->canSeeResponseCodeIs(200);
$I->canSeeResponseIsJson();