mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
fixing test for Set::reverse()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6033 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
6fe654cd9e
commit
d0f2aaaa62
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue