From 1c96dd757f530926d7756458b07bc8b9fcc3fdbf Mon Sep 17 00:00:00 2001 From: "mariano.iglesias" Date: Wed, 16 Apr 2008 20:25:36 +0000 Subject: [PATCH] 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 --- cake/tests/lib/cake_test_case.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/lib/cake_test_case.php b/cake/tests/lib/cake_test_case.php index c189e87af..5cb8a9647 100644 --- a/cake/tests/lib/cake_test_case.php +++ b/cake/tests/lib/cake_test_case.php @@ -242,7 +242,7 @@ class CakeTestCase extends UnitTestCase { ); if (is_string($params)) { - $params['return'] = $params; + $params = array('return' => $params); } $params = array_merge($default, $params);