mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #3302 from dereuromark/2.5-webtestrunner
Fix CakeHtmlReporter output for HTML
This commit is contained in:
commit
4b1d2b06c9
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ class CakeHtmlReporter extends CakeBaseReporter {
|
||||||
echo "<div class='msg'><pre>" . $this->_htmlEntities($message->toString());
|
echo "<div class='msg'><pre>" . $this->_htmlEntities($message->toString());
|
||||||
|
|
||||||
if ((is_string($actualMsg) && is_string($expectedMsg)) || (is_array($actualMsg) && is_array($expectedMsg))) {
|
if ((is_string($actualMsg) && is_string($expectedMsg)) || (is_array($actualMsg) && is_array($expectedMsg))) {
|
||||||
echo "<br />" . PHPUnit_Util_Diff::diff($expectedMsg, $actualMsg);
|
echo "<br />" . $this->_htmlEntities(PHPUnit_Util_Diff::diff($expectedMsg, $actualMsg));
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</pre></div>\n";
|
echo "</pre></div>\n";
|
||||||
|
|
Loading…
Reference in a new issue