diff --git a/tests/bootstrap.php b/tests/bootstrap.php index f390eff2d..62abb3b65 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -4,7 +4,7 @@ die( 'Not an entry point' ); } -$pwd = exec( 'pwd' ); +$pwd = getcwd(); chdir( __DIR__ . '/..' ); passthru( 'composer update' ); chdir( $pwd ); @@ -17,4 +17,4 @@ call_user_func( $extensionFunction ); } -$GLOBALS['wtfIsThisShit'] = $GLOBALS['wgHooks']; \ No newline at end of file +$GLOBALS['wtfIsThisShit'] = $GLOBALS['wgHooks'];