Follow up r92635

This commit is contained in:
Platonides 2011-07-20 15:35:48 +00:00
parent 49728e3588
commit ae3910dd5d
2 changed files with 3 additions and 5 deletions

View file

@ -9,8 +9,7 @@ class BitmapMetadataHandlerTest extends MediaWikiTestCase {
* translation (to en) where XMP should win.
*/
public function testMultilingualCascade() {
global $wgShowEXIF;
if ( !$wgShowEXIF ) {
if ( !wfDl( 'exif' ) ) {
$this->markTestIncomplete( "This test needs the exif extension." );
}

View file

@ -1,8 +1,7 @@
<?php
class FormatMetadataTest extends MediaWikiTestCase {
public function testInvalidDate() {
global $wgShowEXIF;
if ( !$wgShowEXIF ) {
if ( !wfDl( 'exif' ) ) {
$this->markTestIncomplete( "This test needs the exif extension." );
}
@ -26,4 +25,4 @@ class FormatMetadataTest extends MediaWikiTestCase {
$meta['visible'][$dateIndex]['value'],
'File with invalid date metadata (bug 29471)' );
}
}
}