diff options
Diffstat (limited to 'ext/gd/tests')
-rw-r--r-- | ext/gd/tests/bug77272.phpt | 2 | ||||
-rw-r--r-- | ext/gd/tests/imagepolygon_basic.phpt | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/ext/gd/tests/bug77272.phpt b/ext/gd/tests/bug77272.phpt index e3423da543..d3bfa24aaa 100644 --- a/ext/gd/tests/bug77272.phpt +++ b/ext/gd/tests/bug77272.phpt @@ -5,7 +5,7 @@ memory_limit=-1 --SKIPIF-- <?php if (!extension_loaded('gd')) die('skip gd extension not available'); -if (!GD_BUNGLED && version_compare(GD_VERSION, '2.2.5', '<=')) die('skip upstream fix not yet released'); +if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.5', '<=')) die('skip upstream fix not yet released'); if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); ?> --FILE-- diff --git a/ext/gd/tests/imagepolygon_basic.phpt b/ext/gd/tests/imagepolygon_basic.phpt index 21186e9ecc..5dfecfbf19 100644 --- a/ext/gd/tests/imagepolygon_basic.phpt +++ b/ext/gd/tests/imagepolygon_basic.phpt @@ -1,16 +1,15 @@ --TEST-- -imageploygon() +imagepolygon() --SKIPIF-- <?php if (!function_exists('imagepolygon')) die('skip imagepolygon() not available'); - require_once('skipif_imagetype.inc'); ?> --FILE-- <?php /* Prototype : bool imagepolygon ( resource $image , array $points , int $num_points , int $color ) * Description: Draws a polygon. - * Source code: ext/standard/image.c + * Source code: ext/gd/gd.c * Alias to functions: */ |