diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-09-14 13:18:58 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-09-14 13:18:58 +0200 |
commit | 8f416baead93a48e5799e44b8bd2e2c4859f4e04 (patch) | |
tree | cd47ac55eb80a39e3225e8b4f3161b88ea16c2cf /tests/SearchMySQL4Test.php | |
parent | d7d08bd1a17618c7d77a6b9b2989e9f7293d6ed6 (diff) |
auf Version 1.11 aktualisiert; Login-Bug behoben
Diffstat (limited to 'tests/SearchMySQL4Test.php')
-rw-r--r-- | tests/SearchMySQL4Test.php | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/SearchMySQL4Test.php b/tests/SearchMySQL4Test.php index 6277e6ca..0f3a4c2c 100644 --- a/tests/SearchMySQL4Test.php +++ b/tests/SearchMySQL4Test.php @@ -1,19 +1,16 @@ <?php - require_once( 'SearchEngineTest.php' ); -require_once( '../includes/SearchMySQL4.php' ); -class SearchMySQL4Test extends SearchEngine_TestCase { +class SearchMySQL4Test extends SearchEngineTest { var $db; - function SearchMySQL4Test( $name ) { - $this->PHPUnit_TestCase( $name ); + function __construct( $name ) { + parent::__construct( $name ); } function setUp() { $GLOBALS['wgContLang'] = new Language; - $this->db =& buildTestDatabase( - 'mysql4', + $this->db = $this->buildTestDatabase( array( 'page', 'revision', 'text', 'searchindex' ) ); if( $this->db ) { $this->insertSearchData(); @@ -31,4 +28,4 @@ class SearchMySQL4Test extends SearchEngine_TestCase { } -?> + |