wiki.techinc.nl/tests/phpunit/includes/jobqueue
Daimona Eaytoy 4c72c161d8 Deprecate MediaWikiIntegrationTestCase::$users
This property shouldn't be needed in modern code, where most things can
use Authority. So much so because TestUser adds a dependency on the
database, but many tests that use TestUser don't even need the database.
ApiTestCase, in particular, sets this property in setUp, thus adding a
database dependency to all API tests, including those that don't need
users or the database at all.

Deprecate the property and replace existing usages in core. The one in
ApiTestCase is much harder to migrate, but this patch replaces the array
with an anonymous ArrayAccess class to allow lazy initialization and
remove DB dependencies.

Bug: T155147
Change-Id: I59c4ed1f6a7572d3a92387b15b8e56625bc376a2
2023-07-25 12:12:43 +00:00
..
jobs Deprecate MediaWikiIntegrationTestCase::$users 2023-07-25 12:12:43 +00:00
JobFactoryTest.php objectcache,resourceloader,rdbms,jobqueue: Widen @covers annotations 2023-04-10 22:00:17 +00:00
JobQueueMemoryTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
JobQueueTest.php Replace usages of deprecated MWException 2023-06-06 17:05:32 +02:00
JobRunnerTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
JobTest.php objectcache,resourceloader,rdbms,jobqueue: Widen @covers annotations 2023-04-10 22:00:17 +00:00
RefreshLinksPartitionTest.php BacklinkCache: Remove unused internal clear() method 2023-02-21 15:59:42 +00:00