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
Switch to librarized version of TestingAccessWrapper
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
search
/
SearchEnginePrefixTest.php
diff --git
a/tests/phpunit/includes/search/SearchEnginePrefixTest.php
b/tests/phpunit/includes/search/SearchEnginePrefixTest.php
index
e0de588
..
63ed93e
100644
(file)
--- a/
tests/phpunit/includes/search/SearchEnginePrefixTest.php
+++ b/
tests/phpunit/includes/search/SearchEnginePrefixTest.php
@@
-1,5
+1,7
@@
<?php
<?php
+
use MediaWiki\MediaWikiServices;
use MediaWiki\MediaWikiServices;
+use Wikimedia\TestingAccessWrapper;
/**
* @group Search
/**
* @group Search
@@
-126,11
+128,11
@@
class SearchEnginePrefixTest extends MediaWikiLangTestCase {
'results' => [
'Special:ActiveUsers',
'Special:AllMessages',
'results' => [
'Special:ActiveUsers',
'Special:AllMessages',
- 'Special:AllMy
File
s',
+ 'Special:AllMy
Upload
s',
],
// Third result when testing offset
'offsetresult' => [
],
// Third result when testing offset
'offsetresult' => [
- 'Special:All
MyUpload
s',
+ 'Special:All
Page
s',
],
] ],
[ [
],
] ],
[ [
@@
-143,7
+145,7
@@
class SearchEnginePrefixTest extends MediaWikiLangTestCase {
],
// Third result when testing offset
'offsetresult' => [
],
// Third result when testing offset
'offsetresult' => [
- 'Special:Uncategorized
Im
ages',
+ 'Special:Uncategorized
P
ages',
],
] ],
[ [
],
] ],
[ [
@@
-230,7
+232,7
@@
class SearchEnginePrefixTest extends MediaWikiLangTestCase {
],
] ],
[ [
],
] ],
[ [
- 'Exact match not on top (
bug 70
958)',
+ 'Exact match not on top (
T72
958)',
'provision' => [
'Barcelona',
'Bar',
'provision' => [
'Barcelona',
'Bar',
@@
-244,7
+246,7
@@
class SearchEnginePrefixTest extends MediaWikiLangTestCase {
],
] ],
[ [
],
] ],
[ [
- 'Exact match missing (
bug 70
958)',
+ 'Exact match missing (
T72
958)',
'provision' => [
'Barcelona',
'Barbara',
'provision' => [
'Barcelona',
'Barbara',