From d0f2aaaa62cae6e2015d467d8acf2d2916c5ff93 Mon Sep 17 00:00:00 2001 From: gwoo Date: Tue, 20 Nov 2007 18:33:40 +0000 Subject: [PATCH] fixing test for Set::reverse() git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6033 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/set.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/cases/libs/set.test.php b/cake/tests/cases/libs/set.test.php index e36a8ec21..8b3ff89cc 100644 --- a/cake/tests/cases/libs/set.test.php +++ b/cake/tests/cases/libs/set.test.php @@ -463,7 +463,7 @@ class SetTest extends UnitTestCase { $class->Profile = new stdClass; $class->Profile->name = 'Joe Mamma'; $result = Set::reverse($class); - $expected = array('User' => array('id' => '100'), 'Profile' => array('name' => 'Joe Mamma')); + $expected = array('User' => array('id' => '100'), 'someString'=> 'this is some string', 'Profile' => array('name' => 'Joe Mamma')); $this->assertEqual($result, $expected); }