mirror of
https://github.com/elyby/accounts.git
synced 2024-12-24 06:09:52 +05:30
17 lines
391 B
PHP
17 lines
391 B
PHP
|
<?php
|
||
|
namespace tests\codeception\api\functional\_steps;
|
||
|
|
||
|
use tests\codeception\api\_pages\LoginRoute;
|
||
|
use tests\codeception\api\FunctionalTester;
|
||
|
|
||
|
class AccountSteps extends FunctionalTester {
|
||
|
|
||
|
public function loggedInAsActiveAccount() {
|
||
|
$I = $this;
|
||
|
$route = new LoginRoute($I);
|
||
|
$route->login('Admin', 'password_0');
|
||
|
$I->canSeeResponseIsJson();
|
||
|
}
|
||
|
|
||
|
}
|