Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed unassigned "show passes" parameter for test

  • Loading branch information...
commit 9e79756b1fe239318b51fab14a7660852f53e0db 1 parent a69fcca
@hiromi2424 hiromi2424 authored
View
1  lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
@@ -235,6 +235,7 @@ function _runTestCase() {
'app' => $this->params['app'],
'plugin' => $this->params['plugin'],
'codeCoverage' => $this->params['codeCoverage'],
+ 'showPasses' => !empty($this->params['show_passes']),
'baseUrl' => $this->_baseUrl,
'baseDir' => $this->_baseDir,
);
View
2  lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php
@@ -249,7 +249,7 @@ public function paintFail($message, $test) {
* @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 "<li class='pass'>\n";
echo "<span>Passed</span> ";
Please sign in to comment.
Something went wrong with that request. Please try again.