Merge "Doc: Reformat @params declaration"
[lhc/web/wiklou.git] / tests / phpunit / includes / media / ExifTest.php
index 667c078..f3c05fb 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 /**
+ * @group Media
  * @covers Exif
  */
 class ExifTest extends MediaWikiTestCase {
@@ -10,9 +11,7 @@ class ExifTest extends MediaWikiTestCase {
 
        protected function setUp() {
                parent::setUp();
-               if ( !extension_loaded( 'exif' ) ) {
-                       $this->markTestSkipped( "This test needs the exif extension." );
-               }
+               $this->checkPHPExtension( 'exif' );
 
                $this->mediaPath = __DIR__ . '/../../data/media/';