Need autoload classes, or extensions will fatal in tests
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 13 Sep 2010 16:16:04 +0000 (16:16 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 13 Sep 2010 16:16:04 +0000 (16:16 +0000)
maintenance/tests/phpunit/bootstrap.php

index 60c117c..c278af1 100644 (file)
@@ -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__ ) ) ) );