mirror of
https://github.com/elyby/accounts.git
synced 2024-11-16 10:14:02 +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,
|
||
|
]);
|
||
|
}
|
||
|
|
||
|
}
|