]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - maintenance/tests/SearchMySQLTest.php
MediaWiki 1.17.0
[autoinstallsdev/mediawiki.git] / maintenance / tests / SearchMySQLTest.php
diff --git a/maintenance/tests/SearchMySQLTest.php b/maintenance/tests/SearchMySQLTest.php
deleted file mode 100644 (file)
index 526f621..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-require_once( 'SearchEngineTest.php' );
-
-class SearchMySQLTest extends SearchEngineTest {
-       var $db;
-
-       function setUp() {
-               $GLOBALS['wgContLang'] = new Language;
-               $this->db = $this->buildTestDatabase(
-                       array( 'page', 'revision', 'text', 'searchindex', 'user' ) );
-               if( $this->db ) {
-                       $this->insertSearchData();
-               }
-               $this->search = new SearchMySQL( $this->db );
-       }
-
-       function tearDown() {
-               if( !is_null( $this->db ) ) {
-                       wfGetLB()->closeConnecton( $this->db );
-               }
-               unset( $this->db );
-               unset( $this->search );
-       }
-}
-
-