mirror of
https://github.com/elyby/accounts.git
synced 2024-10-30 23:43:00 +05:30
20 lines
370 B
PHP
20 lines
370 B
PHP
|
<?php
|
||
|
namespace tests\codeception\api\_pages;
|
||
|
|
||
|
use yii\codeception\BasePage;
|
||
|
|
||
|
/**
|
||
|
* @property \tests\codeception\api\FunctionalTester $actor
|
||
|
*/
|
||
|
class EmailConfirmRoute extends BasePage {
|
||
|
|
||
|
public $route = ['signup/confirm'];
|
||
|
|
||
|
public function confirm($key = '') {
|
||
|
$this->actor->sendPOST($this->getUrl(), [
|
||
|
'key' => $key,
|
||
|
]);
|
||
|
}
|
||
|
|
||
|
}
|