summaryrefslogtreecommitdiffstats
path: root/application/test/tests/test_libraries_image.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/test/tests/test_libraries_image.php')
-rw-r--r--application/test/tests/test_libraries_image.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/test/tests/test_libraries_image.php b/application/test/tests/test_libraries_image.php
index cd9098ccc..2b1c20f9c 100644
--- a/application/test/tests/test_libraries_image.php
+++ b/application/test/tests/test_libraries_image.php
@@ -60,7 +60,9 @@ class test_libraries_image extends \test\Test {
$correct_error = $e->get_error_id() == "libraries/Image/unsupported-image-type";
$this->t->ok($correct_error, "Should get exception");
if (!$correct_error) {
+ // @codeCoverageIgnoreStart
throw $e;
+ // @codeCoverageIgnoreEnd
}
}
}