mirror of
https://github.com/elyby/accounts.git
synced 2024-10-30 15:33:21 +05:30
17 lines
350 B
PHP
17 lines
350 B
PHP
|
<?php
|
||
|
namespace tests\codeception\api\_pages;
|
||
|
|
||
|
use yii\codeception\BasePage;
|
||
|
|
||
|
/**
|
||
|
* @property \tests\codeception\api\FunctionalTester $actor
|
||
|
*/
|
||
|
class InternalRoute extends BasePage {
|
||
|
|
||
|
public function ban($accountId) {
|
||
|
$this->route = '/internal/accounts/' . $accountId . '/ban';
|
||
|
$this->actor->sendPOST($this->getUrl());
|
||
|
}
|
||
|
|
||
|
}
|