Removed overzealous cleanup that was responsible for failures of tests in CruiseContr...
[lhc/web/wiklou.git] / maintenance / tests / phpunit / includes / search / SearchUpdateTest.php
index fd7230d..1cfb276 100644 (file)
@@ -74,14 +74,11 @@ class SearchUpdateTest extends PHPUnit_Framework_TestCase {
                $wgLBFactoryConf['class'] = 'LBFactory_Simple';
                $wgDBservers = null;
                $wgContLang = Language::factory( 'en' );
-               LBFactory::destroyInstance();
        }
 
        function tearDown() {
                global $wgSearchType, $wgDBtype, $wgLBFactoryConf, $wgDBservers, $wgContLang;
 
-               LBFactory::destroyInstance();
-
                $wgSearchType = self::$searchType;
                $wgDBtype = self::$dbtype;
                $wgLBFactoryConf = self::$factoryconf;