Skip to content
Permalink
Browse files

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

…, definitely time for some coffee
  • Loading branch information...
ceeram authored and markstory committed Feb 22, 2012
1 parent 6d3c659 commit 9d71df475dc7a39d720a97dd47d15042d7b92b6c
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/Case/Network/CakeRequestTest.php
@@ -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);
}
/**

0 comments on commit 9d71df4

Please sign in to comment.
You can’t perform that action at this time.