fixing run.php in web browser take 2
This commit is contained in:
parent
dfd3f18987
commit
0de326b577
@ -380,7 +380,7 @@ class MyReporter extends HtmlReporter {
|
|||||||
print '</pre>';
|
print '</pre>';
|
||||||
$colour = ($this->_test->getFailCount() > 0 ? 'red' : 'green');
|
$colour = ($this->_test->getFailCount() > 0 ? 'red' : 'green');
|
||||||
print '<div style=\'';
|
print '<div style=\'';
|
||||||
print 'padding: 8px; margin-top: 1em; background-color: $colour; color: white;';
|
print "padding: 8px; margin-top: 1em; background-color: $colour; color: white;";
|
||||||
print '\'>';
|
print '\'>';
|
||||||
print $this->_test->getTestCaseCount() . ' test cases.';
|
print $this->_test->getTestCaseCount() . ' test cases.';
|
||||||
print '<strong>' . $this->_test->getPassCount() . '</strong> passes and ';
|
print '<strong>' . $this->_test->getPassCount() . '</strong> passes and ';
|
||||||
|
Loading…
Reference in New Issue
Block a user