Fixing PHP notice with string parameter

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6675 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2008-04-16 20:25:36 +00:00
parent 00b531913a
commit 1c96dd757f

View file

@ -242,7 +242,7 @@ class CakeTestCase extends UnitTestCase {
); );
if (is_string($params)) { if (is_string($params)) {
$params['return'] = $params; $params = array('return' => $params);
} }
$params = array_merge($default, $params); $params = array_merge($default, $params);