mirror of
https://github.com/elyby/accounts.git
synced 2024-11-10 07:22:00 +05:30
Функциональные тесты для аккаунтов сгруппированы в папку
This commit is contained in:
parent
0dbbb2e0de
commit
839257e32a
@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsAcceptRulesCest {
|
class AcceptRulesCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use common\rbac\Permissions as P;
|
use common\rbac\Permissions as P;
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\functional\_steps\OauthSteps;
|
use tests\codeception\api\functional\_steps\OauthSteps;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsBanCest {
|
class BanCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsChangeEmailConfirmNewEmailCest {
|
class ChangeEmailConfirmNewEmailCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsChangeEmailInitializeCest {
|
class ChangeEmailInitializeCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
use tests\codeception\common\helpers\Mock;
|
use tests\codeception\common\helpers\Mock;
|
||||||
use yii\validators\EmailValidator;
|
use yii\validators\EmailValidator;
|
||||||
|
|
||||||
class AccountsChangeEmailSubmitNewEmailCest {
|
class ChangeEmailSubmitNewEmailCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsChangeLangCest {
|
class ChangeLangCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use common\models\Account;
|
use common\models\Account;
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
@ -7,7 +7,7 @@ use tests\codeception\api\_pages\AuthenticationRoute;
|
|||||||
use tests\codeception\api\functional\_steps\OauthSteps;
|
use tests\codeception\api\functional\_steps\OauthSteps;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsChangePasswordCest {
|
class ChangePasswordCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use common\models\Account;
|
use common\models\Account;
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\functional\_steps\OauthSteps;
|
use tests\codeception\api\functional\_steps\OauthSteps;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsChangeUsernameCest {
|
class ChangeUsernameCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use OTPHP\TOTP;
|
use OTPHP\TOTP;
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsDisableTwoFactorAuthCest {
|
class DisableTwoFactorAuthCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use OTPHP\TOTP;
|
use OTPHP\TOTP;
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsEnableTwoFactorAuthCest {
|
class EnableTwoFactorAuthCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsGetCest {
|
class GetCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use common\rbac\Permissions as P;
|
use common\rbac\Permissions as P;
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\functional\_steps\OauthSteps;
|
use tests\codeception\api\functional\_steps\OauthSteps;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsPardonCest {
|
class PardonCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace tests\codeception\api\functional;
|
namespace tests\codeception\api\functional\accounts;
|
||||||
|
|
||||||
use tests\codeception\api\_pages\AccountsRoute;
|
use tests\codeception\api\_pages\AccountsRoute;
|
||||||
use tests\codeception\api\FunctionalTester;
|
use tests\codeception\api\FunctionalTester;
|
||||||
|
|
||||||
class AccountsTwoFactorAuthCredentialsCest {
|
class TwoFactorAuthCredentialsCest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AccountsRoute
|
* @var AccountsRoute
|
Loading…
Reference in New Issue
Block a user