mirror of
https://github.com/elyby/accounts.git
synced 2024-11-10 07:22:00 +05:30
e8b5e90a91
Добавлена поддержка чтения данных из POST запроса, если они переданы как RAW json Исправлен StringHelper::isUuid()
22 lines
523 B
PHP
22 lines
523 B
PHP
<?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);
|
|
}
|
|
|
|
public function joinLegacy(array $params) {
|
|
$this->route = ['sessionserver/session/join-legacy'];
|
|
$this->actor->sendGET($this->getUrl(), $params);
|
|
}
|
|
|
|
}
|