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 __DIR__ instead of dirname( __FILE__ )
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
media
/
ExifRotationTest.php
diff --git
a/tests/phpunit/includes/media/ExifRotationTest.php
b/tests/phpunit/includes/media/ExifRotationTest.php
index
1e2d1bb
..
6af52dd
100644
(file)
--- a/
tests/phpunit/includes/media/ExifRotationTest.php
+++ b/
tests/phpunit/includes/media/ExifRotationTest.php
@@
-8,7
+8,7
@@
class ExifRotationTest extends MediaWikiTestCase {
function setUp() {
parent::setUp();
$this->handler = new BitmapHandler();
- $filePath =
dirname( __FILE__ )
. '/../../data/media';
+ $filePath =
__DIR__
. '/../../data/media';
$tmpDir = $this->getNewTempDirectory();