X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fmedia%2FBitmapMetadataHandlerTest.php;h=a70c00549793bb397774f6d4dc4d2aad9220890a;hb=bc6457b28d70641d366a554d8a82385b53a46fc9;hp=60908038cf408858d020ad7018bc28592e4190ec;hpb=2a1fcd27c19913394c179cbe8be1a9e981d7f81b;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php b/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php index 60908038cf..a70c005497 100644 --- a/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php +++ b/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php @@ -131,7 +131,7 @@ class BitmapMetadataHandlerTest extends MediaWikiTestCase { $this->markTestSkipped( "This test needs the xml extension." ); } $handler = new BitmapMetadataHandler(); - $result = $handler->png( $this->filePath . 'xmp.png' ); + $result = $handler->PNG( $this->filePath . 'xmp.png' ); $expected = [ 'frameCount' => 0, 'loopCount' => 1, @@ -151,7 +151,7 @@ class BitmapMetadataHandlerTest extends MediaWikiTestCase { */ public function testPNGNative() { $handler = new BitmapMetadataHandler(); - $result = $handler->png( $this->filePath . 'Png-native-test.png' ); + $result = $handler->PNG( $this->filePath . 'Png-native-test.png' ); $expected = 'http://example.com/url'; $this->assertEquals( $expected, $result['metadata']['Identifier']['x-default'] ); }