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:
parent
b076026362
commit
6d399d4de8
|
@ -8,9 +8,9 @@
|
||||||
class Tests_Image_Meta extends WP_UnitTestCase {
|
class Tests_Image_Meta extends WP_UnitTestCase {
|
||||||
function setUp() {
|
function setUp() {
|
||||||
if ( ! extension_loaded( 'gd' ) )
|
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' ) )
|
if ( ! extension_loaded( 'exif' ) )
|
||||||
$this->fail( 'The exif PHP extension is not loaded.' );
|
$this->markTestSkipped( 'The exif PHP extension is not loaded.' );
|
||||||
|
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue