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
Use file width/height instead of metadata for getContentHeaders
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
media
/
ExifTest.php
diff --git
a/tests/phpunit/includes/media/ExifTest.php
b/tests/phpunit/includes/media/ExifTest.php
index
28fe604
..
876e461
100644
(file)
--- a/
tests/phpunit/includes/media/ExifTest.php
+++ b/
tests/phpunit/includes/media/ExifTest.php
@@
-29,8
+29,6
@@
class ExifTest extends MediaWikiTestCase {
'GPSAltitude' => -3.141592653,
'GPSDOP' => '5/1',
'GPSVersionID' => '2.2.0.0',
'GPSAltitude' => -3.141592653,
'GPSDOP' => '5/1',
'GPSVersionID' => '2.2.0.0',
- 'Height' => 10,
- 'Width' => 40,
];
$this->assertEquals( $expected, $data, '', 0.0000000001 );
}
];
$this->assertEquals( $expected, $data, '', 0.0000000001 );
}
@@
-43,8
+41,6
@@
class ExifTest extends MediaWikiTestCase {
$expected = [
'UserComment' => 'test⁔comment',
$expected = [
'UserComment' => 'test⁔comment',
- 'Height' => 10,
- 'Width' => 40,
];
$this->assertEquals( $expected, $data );
}
];
$this->assertEquals( $expected, $data );
}