From: Chad Horohoe Date: Mon, 13 Sep 2010 16:16:04 +0000 (+0000) Subject: Need autoload classes, or extensions will fatal in tests X-Git-Tag: 1.31.0-rc.0~34952 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=4d822458eb13fc25b74db8e489008b028ec6db70;p=lhc%2Fweb%2Fwiklou.git Need autoload classes, or extensions will fatal in tests --- diff --git a/maintenance/tests/phpunit/bootstrap.php b/maintenance/tests/phpunit/bootstrap.php index 60c117cbdb..c278af130f 100644 --- a/maintenance/tests/phpunit/bootstrap.php +++ b/maintenance/tests/phpunit/bootstrap.php @@ -9,7 +9,7 @@ // This file is not included in the global scope, but rather within a function, so we must global anything we need to // have access to in the global scope explicitly -global $wgCommandLineMode, $IP, $optionsWithArgs, $wgProfiler; +global $wgCommandLineMode, $IP, $optionsWithArgs, $wgProfiler, $wgAutoloadClasses; // Evaluate the include path relative to this file $IP = dirname( dirname( dirname( dirname( __FILE__ ) ) ) );