wiki.techinc.nl/tests/phpunit/includes
Sébastien Beyou c4c41cda5c Restore the parameter srbackend in Special:Search
This parameter, mainly used during transition to CirrusSearch,
was no more effective because its value was read too late.

Also, added a test for this parameter.

Bug: T277045
Change-Id: I43af23bac983a5c88569c6cde1bab20039128389
2021-03-16 10:40:20 +01:00
..
actions WatchAction:doWatchOrUnwarch - use Authority 2021-03-03 23:25:23 -07:00
api Remove unused tests/phpunit/includes/api/words.txt 2021-03-14 20:52:36 +00:00
auth Make RememberMe authentication behavior configurable. 2021-03-14 12:31:41 -04:00
block BlockPermissionChecker: inject BlockUtils 2021-03-16 01:47:39 +00:00
cache Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
changes Convert RecentChange to use UserIdentity and ActorStore 2021-03-11 19:44:29 +01:00
changetags More misc test cleanup 2020-12-24 00:52:06 +00:00
collation More misc test cleanup 2020-12-24 00:52:06 +00:00
config Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
content Merge "Split WikitextContentHandlerTest into separate unit tests" 2021-03-16 05:46:01 +00:00
context Rename Authority::getPerformer() to ::getUser() 2021-03-04 12:45:28 -07:00
db rdbms: avoid undefined "expectBy" notices in TransactionProfiler (II) 2021-03-16 03:58:11 +00:00
debug Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
deferred Remove $wgPagePropsHaveSortkey 2021-03-13 12:08:49 -08:00
diff Deprecate constructing revision with non-proper page 2021-03-10 22:05:06 +01:00
editpage TextboxBuilderTest: merge single use method 2021-03-11 16:32:24 +00:00
exception Remove sepate getMockWgOut() method in exception tests 2021-03-08 03:54:14 +00:00
externalstore ExternalStoreTest: use a data provider 2021-03-09 21:10:34 +00:00
filebackend Tests: Start marking some closures as static 2021-02-06 19:57:42 +00:00
filerepo LocalFileTest: use assertInstanceOf 2021-03-12 16:55:59 +00:00
GlobalFunctions WfExpandUrlTest use yield for test cases 2021-03-01 15:45:33 +00:00
HookContainer Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
htmlform Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
http Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
import Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
interwiki phpunit: Remove odd "MediaWiki" group from tests using it 2021-01-08 18:35:30 +00:00
jobqueue Remove constructors from test classes 2021-03-08 03:31:25 +00:00
language
libs Merge "JPEG2000 MIME fixes" 2021-03-15 21:36:22 +00:00
linkeddata Remove broken/outdated @param/@throws tags from @dataProviders 2021-01-21 03:42:42 +00:00
linker Convert LinkRendererFactoryTest to a pure unit test 2021-03-10 15:35:13 +00:00
logging Tests: Start marking some closures as static 2021-02-06 19:57:42 +00:00
mail Convert or split some tests to MediaWikiUnitTestCase 2021-01-07 17:51:27 +00:00
media Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
Message Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
Navigation
objectcache Make SqlBagOStuffTest a pure unit test 2021-02-27 02:22:41 +00:00
page Merge "Safer WikiPage redirect functions" 2021-03-14 21:17:53 +00:00
pager Improve some function documentation in tests 2021-01-14 22:13:55 +01:00
ParamValidator/TypeDef Make TypeDefTestCase::getInstance() abstract. 2021-02-06 12:31:00 +01:00
parser Make ParserOptionsTest work on PHP<7.4.9 with opcache enabled 2021-03-02 13:03:58 +11:00
password Split PasswordPolicyChecksTest into separate unit tests 2021-02-27 22:33:54 +00:00
Permissions Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
poolcounter Make PoolCounterTest a pure unit test 2021-02-27 01:12:40 +00:00
preferences Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
rcfeed
registration Use expectWarning/Deprecation/Notice/Error() in phpunit tests 2021-01-04 00:16:51 +00:00
resourceloader Merge "resourceloader: Allow modules to mark themselves as ES6-only" 2021-03-07 02:56:03 +00:00
Rest Remove unused EntryPointTest::$mockHandler 2021-03-14 20:31:57 +00:00
Revision Convert MainSlotRoleHandlerTest to pure unit tests 2021-03-15 18:01:28 +00:00
search PrefixSearchTest: move under /search tests 2021-03-11 21:31:06 +00:00
session Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
shell Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
site Convert MediaWikiPageNameNormalizerTest to a pure unit test 2021-03-11 18:45:57 +00:00
skins Convert skin code to Authority where ready 2021-02-23 21:04:19 -07:00
sparql
specialpage ActorNormalization should require a DB connection. 2021-03-10 21:43:49 +01:00
specials Restore the parameter srbackend in Special:Search 2021-03-16 10:40:20 +01:00
Storage PageUpdaterTest: fix typo "lank" 2021-03-11 22:07:47 +00:00
title NaiveForeignTitleFactory: inject content language 2021-03-13 09:50:44 +00:00
upload Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
user Deprecate UserIdentity::getActorId() 2021-03-13 19:45:57 +01:00
utils Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
watcheditem Hard deprecate WatchedItem::getUser in favor of ::getUserIdentity 2021-02-26 03:29:45 -05:00
ActorMigrationTest.php Deprecate UserIdentity::getActorId() 2021-03-13 19:45:57 +01:00
ActorMigrationTest.sql
AutoLoaderTest.php
AutopromoteTest.php
CategoryTest.php
CommentStoreCommentTest.php
CommentStoreTest.php CommentStoreTest: use mock languages where possible 2021-03-12 09:20:18 +01:00
CommentStoreTest.sql
ContentSecurityPolicyTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
DiffHistoryBlobTest.php DiffHistoryBlobTest: remove unneeded return 2021-03-08 15:48:12 +00:00
EditPageConstraintsTest.php Convert EditConstraints to Authority 2021-03-03 17:12:07 -07:00
EditPageTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ExportTest.php Revert "Wrap libxml_disable_entity_loader() calls in version constraint" 2021-01-27 16:06:38 +00:00
ExtraParserTest.php Deprecate InterwikiLoadPrefix hook 2020-12-21 19:28:48 +00:00
FauxRequestTest.php Implement FauxRequest::getPostValues() 2020-11-27 09:38:08 +01:00
GitInfoTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
HooksTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
HtmlTest.php Revert "message boxes: Use CSS classes adhering to class naming scheme" 2021-01-25 16:31:08 +00:00
LinkerTest.php Restore userlink for IP range. 2021-02-11 15:32:36 +01:00
LinkFilterTest.php
MagicWordFactoryTest.php
MediaWikiServicesTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
MediaWikiTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php Inject WikiPageFactory into MergeHistory/MovePage 2020-11-11 22:10:47 +01:00
MessageTest.php tests: Use ::class on exception names 2021-01-03 20:47:49 +01:00
MockServiceWiring.php Use the old HookContainer to set up the post-reset services 2020-12-01 13:04:12 +11:00
MovePageTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
MultiHttpClientTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
MWTimestampTest.php Convert MWTimestamp to UserIdentity 2021-03-11 19:24:16 +00:00
OutputPageTest.php OutputPage: move to authority where relevant 2021-03-04 08:55:20 -07:00
PagePropsTest.php
ReadOnlyModeTest.php
RevisionDbTest.php Merge "Remove constructors from test classes" 2021-03-11 09:56:01 +00:00
RevisionTest.php Use ActorStore in RevisionStore 2021-02-10 14:37:54 -06:00
RevisionTestModifyableContent.php
RevisionTestModifyableContentHandler.php
SampleTest.php Fix hang of ApiMainTest 2020-12-16 15:39:19 +11:00
SiteStatsTest.php
StatusTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
SystemBlockTest.php
TemplateCategoriesTest.php
TestLocalisationCache.php
TestLogger.php
TestUser.php ParserTestRunner: share more code w/ MediaWikiIntegrationTestCase 2021-01-07 23:31:12 -05:00
TestUserRegistry.php Remove unneeded @return documentation 2021-01-25 19:44:27 +01:00
TimeAdjustTest.php
TitleMethodsTest.php Expand title tests for configuration pages 2021-03-02 00:51:02 +00:00
TitleTest.php Add more tests for creating Title objects 2021-03-07 19:16:07 +00:00
WebRequestTest.php Merge "WebRequest: Document magic argument on WebRequest::getValues" 2021-02-11 03:41:09 +00:00
WikiMapTest.php
WikiReferenceTest.php
XmlTest.php Move Xml::expandAttributes tests to unit tests 2021-03-07 19:27:11 +00:00