From 8df20e7e476e9917f223aa7c3c9cb03d5fc572ec Mon Sep 17 00:00:00 2001 From: Platonides Date: Mon, 14 Jan 2013 22:16:50 +0100 Subject: [PATCH] testPngNativetZtxt requires zlib extension Change-Id: I27e84548ff792ee3bac9b582ba058a029a786768 --- tests/phpunit/includes/media/PNGMetadataExtractorTest.php | 2 ++ 1 file changed, 2 insertions(+) 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"; -- 2.20.1