Moving more direct GET access to params.

This commit is contained in:
Mark Story 2010-01-06 09:46:48 -05:00
parent 98cf758a98
commit 6b3e9583bf

View file

@ -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();