summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/media/PNGTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/media/PNGTest.php')
-rw-r--r--tests/phpunit/includes/media/PNGTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/media/PNGTest.php b/tests/phpunit/includes/media/PNGTest.php
index b6f911fd..fe73c9c7 100644
--- a/tests/phpunit/includes/media/PNGTest.php
+++ b/tests/phpunit/includes/media/PNGTest.php
@@ -2,7 +2,7 @@
class PNGHandlerTest extends MediaWikiTestCase {
public function setUp() {
- $this->filePath = dirname( __FILE__ ) . '/../../data/media';
+ $this->filePath = __DIR__ . '/../../data/media';
$this->backend = new FSFileBackend( array(
'name' => 'localtesting',
'lockManager' => 'nullLockManager',