mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Fix unit tests to match expected behavior
This commit is contained in:
parent
f82a0417cd
commit
fda931ede0
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class ContextTest extends \Codeception\TestCase\Test
|
|||
Context::setRequestArguments();
|
||||
$this->assertEquals('POST', Context::getRequestMethod());
|
||||
$this->assertNull(Context::getRequestVars()->foo);
|
||||
$this->assertEquals('bazz', Context::get('foo')); // XE Compatibility behavior
|
||||
$this->assertNull(Context::get('foo')); // This is different from XE behavior
|
||||
|
||||
$_SERVER['REQUEST_METHOD'] = 'POST';
|
||||
$_GET = array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue