Skip to content

Commit

Permalink
another attempy to set correc order for expected and result in assert…
Browse files Browse the repository at this point in the history
…, definitely time for some coffee
  • Loading branch information
ceeram authored and markstory committed Feb 24, 2012
1 parent 6d3c659 commit 9d71df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/Network/CakeRequestTest.php
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 9d71df4

Please sign in to comment.