From: Platonides Date: Sun, 18 Sep 2011 20:36:35 +0000 (+0000) Subject: Restore ExifBitmapTest::tearDown removed in r97398 X-Git-Tag: 1.31.0-rc.0~27573 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=824640c350b4c6eca558d2292e79f123be106bb0;p=lhc%2Fweb%2Fwiklou.git Restore ExifBitmapTest::tearDown removed in r97398 --- diff --git a/tests/phpunit/includes/media/ExifBitmapTest.php b/tests/phpunit/includes/media/ExifBitmapTest.php index 00e7c62950..b2f6b7bac8 100644 --- a/tests/phpunit/includes/media/ExifBitmapTest.php +++ b/tests/phpunit/includes/media/ExifBitmapTest.php @@ -12,6 +12,11 @@ class ExifBitmapTest extends MediaWikiTestCase { } } + public function tearDown() { + global $wgShowEXIF; + $wgShowEXIF = $this->showExif; + } + public function testIsOldBroken() { $res = $this->handler->isMetadataValid( null, ExifBitmapHandler::OLD_BROKEN_FILE ); $this->assertEquals( ExifBitmapHandler::METADATA_COMPATIBLE, $res );