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
Merge "Perform a permission check on the title when changing the page language"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
content
/
WikitextContentHandlerTest.php
diff --git
a/tests/phpunit/includes/content/WikitextContentHandlerTest.php
b/tests/phpunit/includes/content/WikitextContentHandlerTest.php
index
ec97d76
..
290b11a
100644
(file)
--- a/
tests/phpunit/includes/content/WikitextContentHandlerTest.php
+++ b/
tests/phpunit/includes/content/WikitextContentHandlerTest.php
@@
-245,7
+245,7
@@
class WikitextContentHandlerTest extends MediaWikiLangTestCase {
*/
public function testDataIndexFieldsFile() {
- $mockEngine = $this->
get
Mock( 'SearchEngine' );
+ $mockEngine = $this->
create
Mock( 'SearchEngine' );
$title = Title::newFromText( 'Somefile.jpg', NS_FILE );
$page = new WikiPage( $title );