From 6d399d4de871b09930ac6aad3a7ce90a1e65d6fb Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 29 Sep 2017 19:56:33 +0000 Subject: [PATCH] Build/Test tools: Partially revert [41367] as gd and exif aren't actually required to run WordPress. See #41851 git-svn-id: https://develop.svn.wordpress.org/trunk@41647 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/image/meta.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/image/meta.php b/tests/phpunit/tests/image/meta.php index 9d05c03da9..4d58c807d9 100644 --- a/tests/phpunit/tests/image/meta.php +++ b/tests/phpunit/tests/image/meta.php @@ -8,9 +8,9 @@ class Tests_Image_Meta extends WP_UnitTestCase { function setUp() { if ( ! extension_loaded( 'gd' ) ) - $this->fail( 'The gd PHP extension is not loaded.' ); + $this->markTestSkipped( 'The gd PHP extension is not loaded.' ); if ( ! extension_loaded( 'exif' ) ) - $this->fail( 'The exif PHP extension is not loaded.' ); + $this->markTestSkipped( 'The exif PHP extension is not loaded.' ); parent::setUp(); }