Merge "mediawiki.api: Emit warning when deprecated callback parameters are used"
[lhc/web/wiklou.git] / tests / phpunit / includes / media / ExifBitmapTest.php
index a2e0eb6..fb3e40e 100644 (file)
@@ -9,9 +9,7 @@ class ExifBitmapTest extends MediaWikiTestCase {
 
        protected function setUp() {
                parent::setUp();
-               if ( !extension_loaded( 'exif' ) ) {
-                       $this->markTestSkipped( "This test needs the exif extension." );
-               }
+               $this->checkPHPExtension( 'exif' );
 
                $this->setMwGlobals( 'wgShowEXIF', true );