X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fmedia%2FPNGMetadataExtractorTest.php;h=22de9357936ccf1c83e3306be70baaef2e8290d6;hb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43;hp=a9eaa9e7c59b17e1834b059f34abd745e638e64b;hpb=a0864e85a202539a6bf3cc58336a1942edd4c6d0;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/media/PNGMetadataExtractorTest.php b/tests/phpunit/includes/media/PNGMetadataExtractorTest.php index a9eaa9e7c5..22de935793 100644 --- a/tests/phpunit/includes/media/PNGMetadataExtractorTest.php +++ b/tests/phpunit/includes/media/PNGMetadataExtractorTest.php @@ -65,24 +65,6 @@ class PNGMetadataExtractorTest extends MediaWikiTestCase { $this->assertEquals( $expected, $meta['Copyright']['x-default'] ); } - /** - * Test extraction of pHYs tags, which can tell what the - * actual resolution of the image is (aka in dots per meter). - */ - /* - public function testPngPhysTag() { - $meta = PNGMetadataExtractor::getMetadata( $this->filePath . - 'Png-native-test.png' ); - - $this->assertArrayHasKey( 'text', $meta ); - $meta = $meta['text']; - - $this->assertEquals( '2835/100', $meta['XResolution'] ); - $this->assertEquals( '2835/100', $meta['YResolution'] ); - $this->assertEquals( 3, $meta['ResolutionUnit'] ); // 3 = cm - } - */ - /** * Given a normal static PNG, check the animation metadata returned. */