mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
fixed unassigned "show passes" parameter for test
This commit is contained in:
parent
a69fccabf6
commit
9e79756b1f
2 changed files with 2 additions and 1 deletions
|
@ -235,6 +235,7 @@ class CakeTestSuiteDispatcher {
|
||||||
'app' => $this->params['app'],
|
'app' => $this->params['app'],
|
||||||
'plugin' => $this->params['plugin'],
|
'plugin' => $this->params['plugin'],
|
||||||
'codeCoverage' => $this->params['codeCoverage'],
|
'codeCoverage' => $this->params['codeCoverage'],
|
||||||
|
'showPasses' => !empty($this->params['show_passes']),
|
||||||
'baseUrl' => $this->_baseUrl,
|
'baseUrl' => $this->_baseUrl,
|
||||||
'baseDir' => $this->_baseDir,
|
'baseDir' => $this->_baseDir,
|
||||||
);
|
);
|
||||||
|
|
|
@ -249,7 +249,7 @@ class CakeHtmlReporter extends CakeBaseReporter {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function paintPass(PHPUnit_Framework_Test $test, $time = null) {
|
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 "<li class='pass'>\n";
|
||||||
echo "<span>Passed</span> ";
|
echo "<span>Passed</span> ";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue