wiki.techinc.nl/tests/phpunit/includes
Mark A. Hershberger ea80f07d2f rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1
Use a single callback for both mocks.  This is needed because using
PHP 8.1 results in:

> 1) LBFactoryTest::testChronologyProtector
> Implicit conversion from float 1657063075.187724
> to int loses precision
>
> tests/phpunit/includes/db/LBFactoryTest.php:313
> includes/libs/rdbms/ChronologyProtector.php:290

Bug: T312183
Change-Id: I2764cf9b81b08832c904bf7245bd54ca0f0eddad
2022-07-06 19:35:01 +00:00
..
actions tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
api tests: Use WikiPageFactory to create WikiPage object 2022-06-26 23:21:02 +02:00
auth PHPUnit: introduce overrideConfigValues. 2022-06-21 13:29:29 +02:00
block tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
cache tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
changes tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
changetags Fix visibility of setUp methods in tests 2022-05-17 14:11:22 +02:00
collation IcuCollation: Remove unnecessary rtrim() and unset() 2022-05-21 02:02:39 -04:00
config Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
content tests: Use WikiPageFactory to create WikiPage object 2022-06-26 23:21:02 +02:00
context tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
db rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1 2022-07-06 19:35:01 +00:00
debug Tests: Fix some @covers statements 2022-06-06 01:02:39 +01:00
deferred tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
diff tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
editpage Permissions: Add strict return types and minor doc cleanup 2022-05-21 23:05:32 +01:00
exception Replace deprecated wfReadOnly/wfReadOnlyReason 2022-06-20 15:35:24 +00:00
externalstore Remove unneeded uses of MediaWikiCoversValidator 2021-05-22 01:43:29 +00:00
filebackend Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
filerepo tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
GlobalFunctions Hard deprecate wfReadOnly/wfReadOnlyReason 2022-06-28 21:21:51 +02:00
HookContainer phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
htmlform tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
http tests: Use ::class in assertInstanceOf function 2022-01-16 21:17:09 +01:00
import tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
installer
interwiki Optimise Skin::getLanguages() 2022-02-08 22:34:15 +00:00
jobqueue tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
language phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
languages Use yield consistently in grammar tests 2022-06-03 14:52:53 +03:00
libs objectcache: Implement asynchronous increment in memcached BagOStuff 2022-06-30 04:14:51 +00:00
linkeddata tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
linker linker: Start of LinkTargetStore 2022-03-02 14:56:30 +00:00
logging tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
mail tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
media Do minor code cleanup 2022-06-24 13:52:42 +02:00
Message Add Message/MessageValue user group member parameter type 2021-11-16 11:24:35 -05:00
Navigation
objectcache objectcache: Simplify SqlBagOStuff class configuration 2022-05-27 15:04:43 +00:00
page tests: Use WikiPageFactory to create WikiPage object 2022-06-26 23:21:02 +02:00
pager tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
ParamValidator/TypeDef tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
parser tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
password Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
Permissions tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
poolcounter Replace deprecated calls ParserOptions::newCanonical( 'canonical' ) 2022-06-16 14:22:24 +01:00
preferences Fix visibility of setUp methods in tests 2022-05-17 14:11:22 +02:00
rcfeed rcfeed: Deprecate $wgRCEngines and RCFeedEngine 2022-03-08 19:50:19 +00:00
registration Collect autoloader info in ExtensionProcessor 2022-06-07 17:39:00 +02:00
ResourceLoader ResourceLoader: Inject HookContainer & UserOptionsLookup to getUserDefaults 2022-07-01 00:53:37 +00:00
Rest Allow REST API handlers to require csrf-safe session providers 2022-05-20 16:52:54 +00:00
Revision Merge "tests: Remove unneeded Title::newFromLinkTarget calls" 2022-07-06 15:51:56 +00:00
search tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
session Tests: Cleanup some unnecessary nested function calls 2022-06-06 01:02:34 +01:00
shell Remove or replace usages of "sanity" 2021-11-21 16:42:31 +00:00
site Tests: Cleanup some unnecessary nested function calls 2022-06-06 01:02:34 +01:00
skins tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
sparql sparql: Replace deprecated Http::userAgent() in SparqlClient 2021-08-04 13:54:13 +00:00
specialpage AbstractChangesListSpecialPageTestCase: Add abstract function for validateOptionsProvider 2022-06-06 00:41:32 +00:00
specials tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
Storage Protect against passing unsupported content models to Parsoid. 2022-06-30 14:54:42 +00:00
title Tests: Cleanup some unnecessary nested function calls 2022-06-06 01:02:34 +01:00
upload Add us-ascii to safeXmlEncodings 2022-04-27 09:59:49 +10:00
user Merge "Extract RateLimiter from User" 2022-06-28 06:19:17 +00:00
utils Tests: Cleanup some unnecessary nested function calls 2022-06-06 01:02:34 +01:00
watcheditem tests: Fix types in documentation by adding use statements 2022-05-29 07:11:15 +00:00
ActorMigrationTest.php tests: Use namespaced IDatabase class 2022-05-28 00:09:55 +02:00
ActorMigrationTest.sql Schema migration for revison_actor_temp table removal 2021-07-14 08:29:04 +10:00
AutoLoaderTest.php AutoLoader: provide methods for registering classes 2022-05-10 13:55:53 +10:00
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 Get the MainConfig from MediaWikiServices instead of RequestContext 2022-05-24 21:54:21 +00:00
EditPageConstraintsTest.php Remove or replace usages of "sanity" 2021-11-21 19:35:49 +00:00
EditPageTest.php Language: Inject NamespaceInfo 2022-05-11 17:24:17 +02:00
ExportTest.php Suppress deprecation warnings from libxml_disable_entity_loader() 2022-01-21 14:03:12 +11:00
ExtraParserTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
FauxRequestTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
GitInfoTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
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 build: Updating dependencies 2021-07-22 03:36:05 +00:00
MagicWordFactoryTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
MediaWikiServicesTest.php Start catch blocks on the same line as the preceding } 2022-06-23 00:22:35 +00:00
MediaWikiTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
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 Hard-deprecate MWTimestamp::getHumanTimestamp 2022-06-20 02:20:25 +00:00
OutputPageTest.php parse: Wrap indicators with a div.mw-parser-output element 2022-06-17 21:17:31 +00: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 StatusValue: include type in toString output 2022-06-10 11:09:14 +00:00
TemplateCategoriesTest.php tests: Make sure deferred updates are done and re-enable TemplateCategoriesTest 2022-03-17 13:01:08 +00:00
TestUser.php Create new UserGroupManager::addUserToMultipleGroups method 2021-08-30 10:24:46 -04:00
TestUserRegistry.php
TimeAdjustTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
TitleTest.php Remove Title::isNamespaceProtected 2022-06-16 19:08:34 +02:00
TitleUrlTest.php Introduce TitleUrlTests 2021-09-08 07:48:45 +00:00
TrackingCategoriesTest.php Move ::addTrackingCategory() implementation to TrackingCategories 2021-10-15 14:17:58 -04:00
WebRequestTest.php Add wiki-farm support 2022-04-01 14:29:22 +02:00
WikiMapTest.php Replace usages of deprecated wfWikiID() 2021-12-21 02:05:55 +00:00
XmlTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00