Контроллер Users переименован в Accounts

This commit is contained in:
ErickSkrauch 2016-02-26 01:45:21 +03:00
parent d9987a3185
commit 179d610eef
3 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@ use Yii;
use yii\filters\AccessControl;
use yii\helpers\ArrayHelper;
class UsersController extends Controller {
class AccountsController extends Controller {
public function behaviors() {
return ArrayHelper::merge(parent::behaviors(), [

View File

@ -6,7 +6,7 @@ use yii\codeception\BasePage;
/**
* @property \tests\codeception\api\FunctionalTester $actor
*/
class UsersRoute extends BasePage {
class AccountsRoute extends BasePage {
public function current() {
$this->route = ['users/current'];

View File

@ -3,19 +3,19 @@ namespace tests\codeception\api\functional;
use Codeception\Scenario;
use Codeception\Specify;
use tests\codeception\api\_pages\UsersRoute;
use tests\codeception\api\_pages\AccountsRoute;
use tests\codeception\api\functional\_steps\AccountSteps;
use tests\codeception\api\FunctionalTester;
class UsersCest {
class AccountsCurrentCest {
/**
* @var UsersRoute
* @var AccountsRoute
*/
private $route;
public function _before(FunctionalTester $I) {
$this->route = new UsersRoute($I);
$this->route = new AccountsRoute($I);
}
public function testCurrent(FunctionalTester $I, Scenario $scenario) {