aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/template/template.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/template/template.php b/tests/template/template.php
index 024d3712f7..0c2ca8a032 100644
--- a/tests/template/template.php
+++ b/tests/template/template.php
@@ -36,6 +36,7 @@ class phpbb_template_template_test extends phpbb_test_case
// reset the error level even when an error occured
// PHPUnit turns trigger_error into exceptions as well
error_reporting($error_level);
+ ob_end_clean();
throw $exception;
}