From 5f4502eda147fc1ffb61415da1d7f38f7c19aa6b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 31 Jul 2016 16:36:29 +0200 Subject: Silence some untestable coverage warnings in the test cases Signed-off-by: Florian Pritz --- application/test/tests/test_libraries_image.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'application/test/tests/test_libraries_image.php') 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 } } } -- cgit v1.2.3-24-g4f1b