Функциональные тесты для аккаунтов сгруппированы в папку

This commit is contained in:
ErickSkrauch 2017-10-01 03:29:00 +03:00
parent 0dbbb2e0de
commit 839257e32a
13 changed files with 26 additions and 26 deletions

View File

@ -1,10 +1,10 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\FunctionalTester;
class AccountsAcceptRulesCest {
class AcceptRulesCest {
/**
* @var AccountsRoute

View File

@ -1,12 +1,12 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use common\rbac\Permissions as P;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\functional\_steps\OauthSteps;
use tests\codeception\api\FunctionalTester;
class AccountsBanCest {
class BanCest {
/**
* @var AccountsRoute

View File

@ -1,10 +1,10 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\FunctionalTester;
class AccountsChangeEmailConfirmNewEmailCest {
class ChangeEmailConfirmNewEmailCest {
/**
* @var AccountsRoute

View File

@ -1,10 +1,10 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\FunctionalTester;
class AccountsChangeEmailInitializeCest {
class ChangeEmailInitializeCest {
/**
* @var AccountsRoute

View File

@ -1,12 +1,12 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\FunctionalTester;
use tests\codeception\common\helpers\Mock;
use yii\validators\EmailValidator;
class AccountsChangeEmailSubmitNewEmailCest {
class ChangeEmailSubmitNewEmailCest {
/**
* @var AccountsRoute

View File

@ -1,10 +1,10 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\FunctionalTester;
class AccountsChangeLangCest {
class ChangeLangCest {
/**
* @var AccountsRoute

View File

@ -1,5 +1,5 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use common\models\Account;
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\FunctionalTester;
class AccountsChangePasswordCest {
class ChangePasswordCest {
/**
* @var AccountsRoute

View File

@ -1,12 +1,12 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use common\models\Account;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\functional\_steps\OauthSteps;
use tests\codeception\api\FunctionalTester;
class AccountsChangeUsernameCest {
class ChangeUsernameCest {
/**
* @var AccountsRoute

View File

@ -1,11 +1,11 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use OTPHP\TOTP;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\FunctionalTester;
class AccountsDisableTwoFactorAuthCest {
class DisableTwoFactorAuthCest {
/**
* @var AccountsRoute

View File

@ -1,11 +1,11 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use OTPHP\TOTP;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\FunctionalTester;
class AccountsEnableTwoFactorAuthCest {
class EnableTwoFactorAuthCest {
/**
* @var AccountsRoute

View File

@ -1,10 +1,10 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\FunctionalTester;
class AccountsGetCest {
class GetCest {
/**
* @var AccountsRoute

View File

@ -1,12 +1,12 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use common\rbac\Permissions as P;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\functional\_steps\OauthSteps;
use tests\codeception\api\FunctionalTester;
class AccountsPardonCest {
class PardonCest {
/**
* @var AccountsRoute

View File

@ -1,10 +1,10 @@
<?php
namespace tests\codeception\api\functional;
namespace tests\codeception\api\functional\accounts;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\FunctionalTester;
class AccountsTwoFactorAuthCredentialsCest {
class TwoFactorAuthCredentialsCest {
/**
* @var AccountsRoute