diff --git a/cake/tests/lib/cake_test_suite_dispatcher.php b/cake/tests/lib/cake_test_suite_dispatcher.php index a0e50e4f7..67fcb1541 100644 --- a/cake/tests/lib/cake_test_suite_dispatcher.php +++ b/cake/tests/lib/cake_test_suite_dispatcher.php @@ -245,10 +245,10 @@ class CakeTestSuiteDispatcher { function _runTestCase() { $Reporter =& CakeTestSuiteDispatcher::getReporter(); if ($this->params['codeCoverage']) { - CodeCoverageManager::start($_GET['case'], $Reporter); + CodeCoverageManager::start($this->params['case'], $Reporter); } - $this->Manager->runTestCase($_GET['case'], $Reporter); + $this->Manager->runTestCase($this->params['case'], $Reporter); if ($this->params['codeCoverage']) { CodeCoverageManager::report();