mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Rework tests structure. Upgrade codeception to 2.5.3. Merge params configuration into app configuration.
This commit is contained in:
21
api/tests/_pages/BasePage.php
Normal file
21
api/tests/_pages/BasePage.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace api\tests\_pages;
|
||||
|
||||
use api\tests\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