mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Disproving ticket, see #4709
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7114 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
071af32eb2
commit
de164962dc
1 changed files with 4 additions and 0 deletions
|
@ -809,6 +809,10 @@ class SetTest extends UnitTestCase {
|
|||
$expected = array(2 => null, 14 => null, 25 => null);
|
||||
$this->assertIdentical($result, $expected);
|
||||
|
||||
$result = Set::combine($a, '{n}.User.id', '{n}.User.non-existant');
|
||||
$expected = array(2 => null, 14 => null, 25 => null);
|
||||
$this->assertIdentical($result, $expected);
|
||||
|
||||
$result = Set::combine($a, '{n}.User.id', '{n}.User.Data');
|
||||
$expected = array(
|
||||
2 => array('user' => 'mariano.iglesias', 'name' => 'Mariano Iglesias'),
|
||||
|
|
Loading…
Reference in a new issue