mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
another attempy to set correc order for expected and result in assert, definitely time for some coffee
This commit is contained in:
parent
d5cdc46661
commit
2e2ee3b096
1 changed files with 2 additions and 2 deletions
|
@ -196,14 +196,14 @@ class CakeRequestTest extends CakeTestCase {
|
|||
'Tag' => array('Tag' => array(1, 2))
|
||||
));
|
||||
$request = new CakeRequest('some/path');
|
||||
$this->assertEquals($request->data, $_POST['data']);
|
||||
$this->assertEquals($_POST['data'], $request->data);
|
||||
|
||||
$_POST = array('data' => array(
|
||||
'Article' => array('title' => 'some title'),
|
||||
'Tag' => array('Tag' => array(1, 2))
|
||||
));
|
||||
$request = new CakeRequest('some/path');
|
||||
$this->assertEquals($request->data, $_POST['data']);
|
||||
$this->assertEquals($_POST['data'], $request->data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue