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
/
TiffTest.php
diff --git
a/tests/phpunit/includes/media/TiffTest.php
b/tests/phpunit/includes/media/TiffTest.php
index
d4cf503
..
4c79f66
100644
(file)
--- a/
tests/phpunit/includes/media/TiffTest.php
+++ b/
tests/phpunit/includes/media/TiffTest.php
@@
-5,7
+5,7
@@
class TiffTest extends MediaWikiTestCase {
global $wgShowEXIF;
$this->showExif = $wgShowEXIF;
$wgShowEXIF = true;
- $this->filePath =
dirname( __FILE__ )
. '/../../data/media/';
+ $this->filePath =
__DIR__
. '/../../data/media/';
$this->handler = new TiffHandler;
}