X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fphpunit.php;h=bcbf4ec121aaaf498dcee4db57279b1adbcf6d35;hb=38c7f444e1c13327e203ce4e2890826782b39876;hp=e4a90d8a166ed6b03d431e035b12bd82c4014159;hpb=d3f1d418dec7e3bc3e42dc28c321c308b4d28cdb;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/phpunit.php b/tests/phpunit/phpunit.php index e4a90d8a16..bcbf4ec121 100755 --- a/tests/phpunit/phpunit.php +++ b/tests/phpunit/phpunit.php @@ -9,7 +9,7 @@ /* Configuration */ // Evaluate the include path relative to this file -$IP = dirname( dirname( dirname( __FILE__ ) ) ); +$IP = dirname( dirname( __DIR__ ) ); // Set a flag which can be used to detect when other scripts have been entered through this entry point or not define( 'MW_PHPUNIT_TEST', true );