Merge "(bug 47070) check content model namespace on import."
[lhc/web/wiklou.git] / tests / phpunit / includes / media / ExifRotationTest.php
index 118dc85..3cfbf1a 100644 (file)
@@ -10,9 +10,7 @@ class ExifRotationTest extends MediaWikiTestCase {
 
        protected function setUp() {
                parent::setUp();
-               if ( !extension_loaded( 'exif' ) ) {
-                       $this->markTestSkipped( "This test needs the exif extension." );
-               }
+               $this->checkPHPExtension( 'exif' );
 
                $this->handler = new BitmapHandler();
                $filePath = __DIR__ . '/../../data/media';