summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/media/TiffTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/media/TiffTest.php')
-rw-r--r--tests/phpunit/includes/media/TiffTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/media/TiffTest.php b/tests/phpunit/includes/media/TiffTest.php
index d4cf503b..4c79f66c 100644
--- 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;
}