Добавлен экшен для получения инфы о текущем аутентифицированном пользователе

This commit is contained in:
ErickSkrauch
2016-02-24 01:34:01 +03:00
parent 1fff80c7e8
commit d9987a3185
3 changed files with 96 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<?php
namespace tests\codeception\api\_pages;
use yii\codeception\BasePage;
/**
* @property \tests\codeception\api\FunctionalTester $actor
*/
class UsersRoute extends BasePage {
public function current() {
$this->route = ['users/current'];
$this->actor->sendGET($this->getUrl());
}
}