diff --git a/cake/tests/cases/libs/set.test.php b/cake/tests/cases/libs/set.test.php index e252b5498..e4df0f556 100644 --- a/cake/tests/cases/libs/set.test.php +++ b/cake/tests/cases/libs/set.test.php @@ -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'),