diff --git a/cake/tests/lib/reporter/cake_html_reporter.php b/cake/tests/lib/reporter/cake_html_reporter.php index 4252c4ccca7..fd2b4c80b9d 100755 --- a/cake/tests/lib/reporter/cake_html_reporter.php +++ b/cake/tests/lib/reporter/cake_html_reporter.php @@ -265,14 +265,16 @@ public function paintPass(PHPUnit_Framework_Test $test, $time = null) { * @param Exception $exception Exception to display. * @return void */ - public function paintException($exception, $test) { + public function paintException($message, $test) { + $trace = $this->_getStackTrace($message); + $testName = get_class($test) . '(' . $test->getName() . ')'; + echo "