mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +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
6d3c659260
commit
9d71df475d
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