Making exception class names visible in the WebTest runner. Fixes #1506

This commit is contained in:
Mark Story 2011-02-04 17:11:49 -05:00
parent 63308fdbd8
commit 7b34d879dc

View file

@ -271,7 +271,7 @@ class CakeHtmlReporter extends CakeBaseReporter {
$testName = get_class($test) . '(' . $test->getName() . ')';
echo "<li class='fail'>\n";
echo "<span>Exception</span>";
echo "<span>" . get_class($message) . "</span>";
echo "<div class='msg'>" . $this->_htmlEntities($message->getMessage()) . "</div>\n";
echo "<div class='msg'>" . __('Test case: %s', $testName) . "</div>\n";