diff --git a/tests/exception/ErrorHandlerTest.php b/tests/exception/ErrorHandlerTest.php index f4cc82d..37cfb82 100644 --- a/tests/exception/ErrorHandlerTest.php +++ b/tests/exception/ErrorHandlerTest.php @@ -42,11 +42,15 @@ class ErrorHandlerTest extends PHPUnit_Framework_TestCase trigger_error("test error", E_USER_ERROR); } + /** + * @TODO: ErrorHandler->wrapTrace() not used + */ public function testShowDebug() { try { throw new ErrorException("test error", E_USER_ERROR); } catch (ErrorException $e) { + $_SESSION['some'] = 'value'; $result = ErrorHandler::showDebug($e); $this->assertNotEmpty($result); $this->assertStringStartsWith('', $result);