dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify SearchUpdate constructor and hard deprecate some param types
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
deferred
/
SearchUpdateTest.php
diff --git
a/tests/phpunit/includes/deferred/SearchUpdateTest.php
b/tests/phpunit/includes/deferred/SearchUpdateTest.php
index
8faaeda
..
43fbee8
100644
(file)
--- a/
tests/phpunit/includes/deferred/SearchUpdateTest.php
+++ b/
tests/phpunit/includes/deferred/SearchUpdateTest.php
@@
-12,8
+12,7
@@
class SearchUpdateTest extends MediaWikiTestCase {
protected function setUp() {
parent::setUp();
- $this->setMwGlobals( 'wgSearchType', 'MockSearch' );
- $this->su = new SearchUpdate( 0, "" );
+ $this->su = new SearchUpdate( 0, Title::newMainPage() );
}
public function updateText( $text ) {