diff --git a/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php b/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php index 3bb803c9a..1dfa3ca8a 100644 --- a/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php +++ b/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php @@ -235,6 +235,7 @@ class CakeTestSuiteDispatcher { 'app' => $this->params['app'], 'plugin' => $this->params['plugin'], 'codeCoverage' => $this->params['codeCoverage'], + 'showPasses' => !empty($this->params['show_passes']), 'baseUrl' => $this->_baseUrl, 'baseDir' => $this->_baseDir, ); diff --git a/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php b/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php index 8c31f2b03..15b64e120 100644 --- a/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php +++ b/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php @@ -249,7 +249,7 @@ class CakeHtmlReporter extends CakeBaseReporter { * @return void */ public function paintPass(PHPUnit_Framework_Test $test, $time = null) { - if (isset($this->params['show_passes']) && $this->params['show_passes']) { + if (isset($this->params['showPasses']) && $this->params['showPasses']) { echo "