Followup r83140: FakeMemCachedClient -> EmptyBagOStuff in tests
[lhc/web/wiklou.git] / tests / RunSeleniumTests.php
index ffa14db..dd97c15 100644 (file)
@@ -153,9 +153,9 @@ class SeleniumTester extends Maintenance {
        public function execute() {
                global $wgServer, $wgScriptPath, $wgHooks;
 
-               $seleniumSettings;
-               $seleniumBrowsers;
-               $seleniumTestSuites;
+               $seleniumSettings = array();
+               $seleniumBrowsers = array();
+               $seleniumTestSuites = array();
 
                $configFile = $this->getOption( 'seleniumConfig', '' );
                if ( strlen( $configFile ) > 0 ) {
@@ -230,4 +230,4 @@ class SeleniumTester extends Maintenance {
 
 $maintClass = "SeleniumTester";
 
-require_once( DO_MAINTENANCE );
+require_once( RUN_MAINTENANCE_IF_MAIN );