mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
Context::setRequestArguments() 입력 정리
This commit is contained in:
parent
605fcc87df
commit
e0edf3cb53
2 changed files with 95 additions and 144 deletions
|
|
@ -142,8 +142,8 @@ class ContextTest extends \Codeception\TestCase\Test
|
|||
Context::setRequestMethod('POST');
|
||||
$_GET = array();
|
||||
$_POST = $_REQUEST = array('foo' => 'legacy', '_rx_ajax_compat' => 'XMLRPC');
|
||||
unset($GLOBALS['HTTP_RAW_POST_DATA']);
|
||||
unset($_SERVER['HTTP_ACCEPT']);
|
||||
$GLOBALS['HTTP_RAW_POST_DATA'] = http_build_query($_POST);
|
||||
$_SERVER['HTTP_ACCEPT'] = 'application/json';
|
||||
Context::clearRequestVars();
|
||||
Context::clearUserVars();
|
||||
Context::setRequestMethod();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue