mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Удалена зависимость от yiisoft/yii2-codeception в пользу интегрированного в Codeception генератора REST адресов
Реорганизованы объекты Pages для Functional тестов Исправлены не переименованные тесты, оставшиеся после последнего рефакторинга
This commit is contained in:
21
tests/codeception/api/_pages/BasePage.php
Normal file
21
tests/codeception/api/_pages/BasePage.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace tests\codeception\api\_pages;
|
||||
|
||||
use tests\codeception\api\FunctionalTester;
|
||||
|
||||
class BasePage {
|
||||
|
||||
/**
|
||||
* @var FunctionalTester
|
||||
*/
|
||||
private $actor;
|
||||
|
||||
public function __construct(FunctionalTester $I) {
|
||||
$this->actor = $I;
|
||||
}
|
||||
|
||||
public function getActor(): FunctionalTester {
|
||||
return $this->actor;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user