From 3e4a9631da5205d90c7df58e86a677d83f4e83af Mon Sep 17 00:00:00 2001 From: "renan.saddam" Date: Tue, 26 Jan 2010 12:14:47 -0200 Subject: [PATCH] Fixing notice due by using a non-existent variable. --- cake/tests/lib/test_manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/tests/lib/test_manager.php b/cake/tests/lib/test_manager.php index a71665301..d961ee219 100644 --- a/cake/tests/lib/test_manager.php +++ b/cake/tests/lib/test_manager.php @@ -23,7 +23,7 @@ define('APP_TEST_CASES', TESTS . 'cases'); define('APP_TEST_GROUPS', TESTS . 'groups'); /** - * TestManager is the base class that handles loading and initiating the running + * TestManager is the base class that handles loading and initiating the running * of TestCase and TestSuite classes that the user has selected. * * @package cake @@ -103,7 +103,7 @@ class TestManager { if ($this->appTest) { $test =& new TestSuite(__('All App Tests', true)); } else if ($this->pluginTest) { - $test =& new TestSuite(sprintf(__('All %s Plugin Tests', true), Inflector::humanize($manager->pluginTest))); + $test =& new TestSuite(sprintf(__('All %s Plugin Tests', true), Inflector::humanize($this->pluginTest))); } else { $test =& new TestSuite(__('All Core Tests', true)); }