Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

2.0 fix testsuite show passes #145

Merged
merged 1 commit into from

2 participants

Hiroki Shimizu José Lorenzo Rodríguez
Hiroki Shimizu

No description provided.

José Lorenzo Rodríguez lorenzo merged commit f320457 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 9, 2011
  1. Hiroki Shimizu
This page is out of date. Refresh to see the latest.
1  lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
View
@@ -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,
);
2  lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php
View
@@ -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> ";
Something went wrong with that request. Please try again.