mirror of
https://github.com/elyby/accounts.git
synced 2026-12-02 04:03:14 +05:30
Добавлен action для формы восстановления пароля
This commit is contained in:
1 parent
a29cb76cbf
commit
c6547b6540
8 files changed
+166
-12
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace tests\codeception\api;
|
||||
|
||||
use tests\codeception\api\_pages\LoginRoute;
|
||||
use tests\codeception\api\_pages\AuthenticationRoute;
|
||||
|
||||
/**
|
||||
* Inherited Methods
|
||||
@@ -23,7 +23,7 @@ class FunctionalTester extends \Codeception\Actor {
|
||||
|
||||
public function loggedInAsActiveAccount() {
|
||||
$I = $this;
|
||||
$route = new LoginRoute($I);
|
||||
$route = new AuthenticationRoute($I);
|
||||
$route->login('Admin', 'password_0');
|
||||
$I->canSeeResponseIsJson();
|
||||
$I->canSeeResponseJsonMatchesJsonPath('$.jwt');
|
||||
|
||||
Reference in new issue
Block a user