summaryrefslogtreecommitdiff
path: root/tests/phpunit/MediaWikiPHPUnitCommand.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/MediaWikiPHPUnitCommand.php')
-rw-r--r--tests/phpunit/MediaWikiPHPUnitCommand.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/MediaWikiPHPUnitCommand.php b/tests/phpunit/MediaWikiPHPUnitCommand.php
index ea385ad9..fca32515 100644
--- a/tests/phpunit/MediaWikiPHPUnitCommand.php
+++ b/tests/phpunit/MediaWikiPHPUnitCommand.php
@@ -37,7 +37,7 @@ class MediaWikiPHPUnitCommand extends PHPUnit_TextUI_Command {
# PHPUnit uses stream_resolve_include_path() internally
# See bug 32022
set_include_path(
- dirname( __FILE__ )
+ __DIR__
.PATH_SEPARATOR
. get_include_path()
);