Permalink
Browse files

Merge pull request #145 from hiromi2424/2.0-fix-testsuite-show-passes

Re-adding support for showing passing tests in web testsuite
  • Loading branch information...
2 parents a69fcca + 9e79756 commit f32045787fdee07877ed18b1f19abfe63148f8cb @lorenzo lorenzo committed Jul 9, 2011
@@ -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,
);
@@ -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> ";

0 comments on commit f320457

Please sign in to comment.