wiki.techinc.nl/tests/phpunit/includes
Aaron Schulz cc1bb73490 objectcache: remove "multiPrimaryMode" DB type assertion
Since no mysql-specific queries are required, allow sqlite and
Postgres setups to use "multiPrimaryMode" for easier testing.

Avoid "CASE types text and integer cannot be matched" Postgres
error by making dbEncodeSerialValue() cast the result to a string
so that addQuotes() applies in buildUpsertSetForOverwrite().

Bug: T212129
Change-Id: Ic84a804c272a7070779c8d41d3a33003852d0839
2022-04-21 16:20:39 -07:00
..
actions Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
api Merge "Remove usage of protection related deprecated Title function" 2022-04-14 22:08:40 +00:00
auth Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
block Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
cache tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
changes tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
changetags Handle null in ChangeTags::modifyDisplayQuery 2022-03-04 11:12:14 +01:00
collation phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
config Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
content phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
context context: Add a cached RequestContext::getActionName method 2022-03-25 12:12:48 +00:00
db rdbms: make automatic connection recovery more robust 2022-04-14 11:09:31 +10:00
debug DeprecationHelper: Fix method name in deprecation message 2022-04-11 23:30:06 +00:00
deferred Use new namespace for revision related classes 2022-04-14 23:03:43 +02:00
diff Merge "diff: Fix small issues and compact syntax in DifferenceEngine" 2022-02-04 15:09:28 +00:00
editpage
exception Use HTTP 404 for BadTitleErrors instead of HTTP 400 2022-02-27 00:08:58 -08:00
externalstore
filebackend Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
filerepo Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
GlobalFunctions Refactor URL-parsing global functions to class 2022-04-12 15:14:35 +03:00
HookContainer phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
htmlform Merge "HTMLForm: Add test for CSRF token check" 2022-02-21 16:19:03 +00:00
http
import phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
installer
interwiki Optimise Skin::getLanguages() 2022-02-08 22:34:15 +00:00
jobqueue RefreshLinksJob: assert proper title 2022-02-09 20:39:08 +01:00
language phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
languages phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
libs Remove misleading test in SerializationTestTrain::validateObjectEquality() 2022-03-31 09:50:51 -04:00
linkeddata
linker linker: Start of LinkTargetStore 2022-03-02 14:56:30 +00:00
logging logging: Normalize "infinity" in BlockLogFormatter for pre-T241709 rows 2022-04-12 20:57:18 +00:00
mail phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
media phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
Message
Navigation
objectcache objectcache: remove "multiPrimaryMode" DB type assertion 2022-04-21 16:20:39 -07:00
page Use new namespace for revision related classes 2022-04-14 23:03:43 +02:00
pager pager: Improve Y2K38 check to keep leading zero in 3-digit years 2022-04-13 19:52:19 +02:00
ParamValidator/TypeDef
parser Use new namespace for revision related classes 2022-04-14 23:03:43 +02:00
password Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
Permissions phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
poolcounter Change ParserOutputAccess workers to work with Status objects 2022-04-08 15:47:59 +02:00
preferences Fix SignatureValidatorFactory circular dependency 2022-04-13 12:38:00 +10:00
rcfeed rcfeed: Deprecate $wgRCEngines and RCFeedEngine 2022-03-08 19:50:19 +00:00
registration Integration test for extension registration 2022-03-11 21:43:41 +00:00
resourceloader Apply logo variant override in ResourceLoaderSkinModule 2022-03-28 13:22:07 +08:00
Rest Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
Revision Use new namespace for revision related classes 2022-04-14 23:03:43 +02:00
search phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
session BotPasswordSessionProvider: inject GrantsInfo 2022-04-12 18:48:48 +02:00
shell
site phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
skins Skin::makeLink: support tooltips on unlinked text 2022-04-07 12:45:49 +10:00
sparql
specialpage phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
specials Drop messagebox, warningbox, errorbox classes 2022-04-11 17:40:04 +00:00
Storage Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
title mediawiki.Title: Treat U+FFFD (replacement character) as invalid 2022-03-27 20:53:42 +00:00
upload Allow managing upload-by-url allowlist as a system message 2022-03-23 11:11:41 +02:00
user TempUser infrastructure and services 2022-04-14 09:23:55 +10:00
utils Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
watcheditem Add more support for read new in links migration 2022-04-12 02:22:17 +02:00
ActorMigrationTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
ActorMigrationTest.sql
AutoLoaderTest.php
CategoryTest.php Add getMemberCount() to Category to supersede getPageCount() 2022-01-31 13:59:34 +01:00
CommentStoreCommentTest.php
CommentStoreTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
CommentStoreTest.sql
ContentSecurityPolicyTest.php phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
EditPageConstraintsTest.php
EditPageTest.php Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
ExportTest.php
ExtraParserTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
FauxRequestTest.php
GitInfoTest.php
HooksTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
HtmlTest.php Drop messagebox, warningbox, errorbox classes 2022-04-11 17:40:04 +00:00
LinkerTest.php Revert "WatchedStore requires PageIdentity" 2022-03-30 16:18:10 +00:00
LinkFilterTest.php
MagicWordFactoryTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
MediaWikiServicesTest.php
MediaWikiTest.php
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
MessageTest.php Only apply transformations for &uselang=qqx when actually using it 2022-03-08 01:50:44 +00:00
MockServiceWiring.php
MovePageTest.php Remove fallback to MediaWikiServices in MovePage::__construct 2022-04-20 21:06:44 +00:00
MultiHttpClientTest.php Fix deprecation warning from CURLPIPE_HTTP1 2022-01-25 14:35:41 +11:00
MWTimestampTest.php
OutputPageTest.php Apply logo variant override in ResourceLoaderSkinModule 2022-03-28 13:22:07 +08:00
PagePropsTest.php Hard deprecate PageProps::getInstance() 2022-03-15 22:58:48 +01:00
SampleTest.php phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
SiteStatsTest.php Replace deprecated JobQueueGroup::singleton() 2022-01-27 21:37:50 +01:00
StatusTest.php Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
TemplateCategoriesTest.php tests: Make sure deferred updates are done and re-enable TemplateCategoriesTest 2022-03-17 13:01:08 +00:00
TestUser.php
TestUserRegistry.php
TimeAdjustTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
TitleTest.php SECURITY: Add recursion guard to Title::newMainPage() 2022-03-31 22:58:38 +01:00
TitleUrlTest.php
TrackingCategoriesTest.php
WebRequestTest.php Add wiki-farm support 2022-04-01 14:29:22 +02:00
WikiMapTest.php
XmlTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00