dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Warn against certain jQuery methods"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
media
/
BitmapMetadataHandlerTest.php
diff --git
a/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php
b/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php
index
6090803
..
a70c005
100644
(file)
--- 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();
$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,
$expected = [
'frameCount' => 0,
'loopCount' => 1,
@@
-151,7
+151,7
@@
class BitmapMetadataHandlerTest extends MediaWikiTestCase {
*/
public function testPNGNative() {
$handler = new BitmapMetadataHandler();
*/
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'] );
}
$expected = 'http://example.com/url';
$this->assertEquals( $expected, $result['metadata']['Identifier']['x-default'] );
}