Merge pull request #10525 from ndm2/2.x-fix-controller-test-case-base-incompatibility

Fix argument order - #10517 follow-up
This commit is contained in:
Mark Story 2017-04-15 21:17:25 -04:00 committed by GitHub
commit f08d96306b

View file

@ -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));
}
}