X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fmedia%2FPNGMetadataExtractorTest.php;h=22de9357936ccf1c83e3306be70baaef2e8290d6;hp=84deb1bfd5b3f777548db036098d7c18eaf0425a;hb=faf7cc4a09848c538320bd2b9067b1a77c0a0183;hpb=d4eefca4dd645bbef2b435ef1228a141f6a48e67 diff --git a/tests/phpunit/includes/media/PNGMetadataExtractorTest.php b/tests/phpunit/includes/media/PNGMetadataExtractorTest.php index 84deb1bfd5..22de935793 100644 --- a/tests/phpunit/includes/media/PNGMetadataExtractorTest.php +++ b/tests/phpunit/includes/media/PNGMetadataExtractorTest.php @@ -1,6 +1,7 @@ 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. */