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:
the_undefined 2008-06-04 16:27:19 +00:00
parent 071af32eb2
commit de164962dc

View file

@ -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'),