From: Platonides Date: Mon, 14 Jan 2013 21:16:50 +0000 (+0100) Subject: testPngNativetZtxt requires zlib extension X-Git-Tag: 1.31.0-rc.0~20889^2 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=8df20e7e476e9917f223aa7c3c9cb03d5fc572ec;p=lhc%2Fweb%2Fwiklou.git testPngNativetZtxt requires zlib extension Change-Id: I27e84548ff792ee3bac9b582ba058a029a786768 --- diff --git a/tests/phpunit/includes/media/PNGMetadataExtractorTest.php b/tests/phpunit/includes/media/PNGMetadataExtractorTest.php index e027668f59..0260f29f1c 100644 --- a/tests/phpunit/includes/media/PNGMetadataExtractorTest.php +++ b/tests/phpunit/includes/media/PNGMetadataExtractorTest.php @@ -9,6 +9,8 @@ class PNGMetadataExtractorTest extends MediaWikiTestCase { * Tests zTXt tag (compressed textual metadata) */ function testPngNativetZtxt() { + $this->checkPHPExtension( 'zlib' ); + $meta = PNGMetadataExtractor::getMetadata( $this->filePath . 'Png-native-test.png' ); $expected = "foo bar baz foo foo foo foof foo foo foo foo";