summaryrefslogtreecommitdiff
path: root/ext/gd/tests/imagefilter_error10.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/imagefilter_error10.phpt')
-rw-r--r--ext/gd/tests/imagefilter_error10.phpt21
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/gd/tests/imagefilter_error10.phpt b/ext/gd/tests/imagefilter_error10.phpt
deleted file mode 100644
index 07aecee632..0000000000
--- a/ext/gd/tests/imagefilter_error10.phpt
+++ /dev/null
@@ -1,21 +0,0 @@
---TEST--
-Testing wrong parameter resource of EMBOSS in imagefilter() of GD library
---CREDITS--
-Guilherme Blanco <guilhermeblanco [at] hotmail [dot] com>
-#testfest PHPSP on 2009-06-20
---SKIPIF--
-<?php
-if (!extension_loaded("gd")) die("skip GD not present");
-?>
---FILE--
-<?php
-$image = tmpfile();
-
-try {
- var_dump(imagefilter($image, IMG_FILTER_EMBOSS));
-} catch (TypeError $e) {
- echo $e->getMessage(), "\n";
-}
-?>
---EXPECT--
-imagefilter(): supplied resource is not a valid Image resource