mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +00:00
Fix CakeHtmlReporter output for HTML
This commit is contained in:
parent
6122869d89
commit
4f3578ebda
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());
|
||||
|
||||
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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue