diff --git a/lib/Cake/Test/Case/Network/CakeRequestTest.php b/lib/Cake/Test/Case/Network/CakeRequestTest.php index e60b0925c..adfa7ed2b 100644 --- a/lib/Cake/Test/Case/Network/CakeRequestTest.php +++ b/lib/Cake/Test/Case/Network/CakeRequestTest.php @@ -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); } /**