summaryrefslogtreecommitdiff
path: root/tests/SearchMySQL4Test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SearchMySQL4Test.php')
-rw-r--r--tests/SearchMySQL4Test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/SearchMySQL4Test.php b/tests/SearchMySQL4Test.php
index 545af230..6277e6ca 100644
--- a/tests/SearchMySQL4Test.php
+++ b/tests/SearchMySQL4Test.php
@@ -11,14 +11,14 @@ class SearchMySQL4Test extends SearchEngine_TestCase {
}
function setUp() {
- $GLOBALS['wgContLang'] = new LanguageUtf8;
+ $GLOBALS['wgContLang'] = new Language;
$this->db =& buildTestDatabase(
'mysql4',
array( 'page', 'revision', 'text', 'searchindex' ) );
if( $this->db ) {
$this->insertSearchData();
}
- $this->search =& new SearchMySQL4( $this->db );
+ $this->search = new SearchMySQL4( $this->db );
}
function tearDown() {
@@ -31,4 +31,4 @@ class SearchMySQL4Test extends SearchEngine_TestCase {
}
-?> \ No newline at end of file
+?>