From 824640c350b4c6eca558d2292e79f123be106bb0 Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 18 Sep 2011 20:36:35 +0000 Subject: [PATCH] Restore ExifBitmapTest::tearDown removed in r97398 --- tests/phpunit/includes/media/ExifBitmapTest.php | 5 +++++ 1 file changed, 5 insertions(+) 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 ); -- 2.20.1