Merge "(bug 47070) check content model namespace on import."
[lhc/web/wiklou.git] / tests / phpunit / includes / media / TiffTest.php
index 8d74b98..ca97698 100644 (file)
@@ -8,9 +8,7 @@ class TiffTest 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 );