diff --git a/lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php b/lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php index ee8440758..9a5f33124 100644 --- a/lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php +++ b/lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php @@ -648,6 +648,6 @@ class ControllerTestCaseTest extends CakeTestCase { 'named' => array(), 'pass' => array(), ); - $this->assertEquals($expected, array_intersect_key($expected, $this->Case->controller->request->params)); + $this->assertEquals($expected, array_intersect_key($this->Case->controller->request->params, $expected)); } }