diff options
Diffstat (limited to 'tests/SearchMySQL4Test.php')
-rw-r--r-- | tests/SearchMySQL4Test.php | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/SearchMySQL4Test.php b/tests/SearchMySQL4Test.php deleted file mode 100644 index 0f3a4c2c..00000000 --- a/tests/SearchMySQL4Test.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php -require_once( 'SearchEngineTest.php' ); - -class SearchMySQL4Test extends SearchEngineTest { - var $db; - - function __construct( $name ) { - parent::__construct( $name ); - } - - function setUp() { - $GLOBALS['wgContLang'] = new Language; - $this->db = $this->buildTestDatabase( - array( 'page', 'revision', 'text', 'searchindex' ) ); - if( $this->db ) { - $this->insertSearchData(); - } - $this->search = new SearchMySQL4( $this->db ); - } - - function tearDown() { - if( !is_null( $this->db ) ) { - $this->db->close(); - } - unset( $this->db ); - unset( $this->search ); - } - -} - - |