Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 ceeram authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/Case/Network/CakeRequestTest.php
4 lib/Cake/Test/Case/Network/CakeRequestTest.php
View
@@ -196,14 +196,14 @@ public function testPostParsing() {
'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);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.