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
This commit is contained in:
John Blackbourn 2017-09-29 19:56:33 +00:00
parent b076026362
commit 6d399d4de8
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}