Follow up r92635
This commit is contained in:
parent
49728e3588
commit
ae3910dd5d
2 changed files with 3 additions and 5 deletions
|
|
@ -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." );
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)' );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue