Skip to content
This repository
Browse code

another attempy to set correc order for expected and result in assert…

…, definitely time for some coffee
  • Loading branch information...
commit 2e2ee3b09633fd75dbea6ea7f79743e0ff1b32f0 1 parent d5cdc46
ceeram authored
4  lib/Cake/Test/Case/Network/CakeRequestTest.php
@@ -196,14 +196,14 @@ public function testPostParsing() {
196 196
 			'Tag' => array('Tag' => array(1, 2))
197 197
 		));
198 198
 		$request = new CakeRequest('some/path');
199  
-		$this->assertEquals($request->data, $_POST['data']);
  199
+		$this->assertEquals($_POST['data'], $request->data);
200 200
 
201 201
 		$_POST = array('data' => array(
202 202
 			'Article' => array('title' => 'some title'),
203 203
 			'Tag' => array('Tag' => array(1, 2))
204 204
 		));
205 205
 		$request = new CakeRequest('some/path');
206  
-		$this->assertEquals($request->data, $_POST['data']);
  206
+		$this->assertEquals($_POST['data'], $request->data);
207 207
 	}
208 208
 
209 209
 /**

0 notes on commit 2e2ee3b

Please sign in to comment.
Something went wrong with that request. Please try again.