Fix array_intersect_key() argument order, the source comes first.

This commit is contained in:
ndm2 2017-04-15 21:27:29 +02:00
parent cefbcf33f0
commit d9059b6d3b

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