mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Fix array_intersect_key()
argument order, the source comes first.
This commit is contained in:
parent
cefbcf33f0
commit
d9059b6d3b
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue