From 8f416baead93a48e5799e44b8bd2e2c4859f4e04 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 14 Sep 2007 13:18:58 +0200 Subject: auf Version 1.11 aktualisiert; Login-Bug behoben --- tests/SearchMySQL4Test.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'tests/SearchMySQL4Test.php') 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 @@ 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 { } -?> + -- cgit v1.2.3-54-g00ecf