2016-09-03 01:54:22 +03:00
|
|
|
<?php
|
|
|
|
namespace tests\codeception\api\_pages;
|
|
|
|
|
|
|
|
use yii\codeception\BasePage;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @property \tests\codeception\api\FunctionalTester $actor
|
|
|
|
*/
|
|
|
|
class SessionServerRoute extends BasePage {
|
|
|
|
|
|
|
|
public function join($params) {
|
|
|
|
$this->route = ['sessionserver/session/join'];
|
|
|
|
$this->actor->sendPOST($this->getUrl(), $params);
|
|
|
|
}
|
|
|
|
|
2016-09-05 17:55:38 +03:00
|
|
|
public function joinLegacy(array $params) {
|
|
|
|
$this->route = ['sessionserver/session/join-legacy'];
|
|
|
|
$this->actor->sendGET($this->getUrl(), $params);
|
|
|
|
}
|
|
|
|
|
2016-09-03 01:54:22 +03:00
|
|
|
}
|