wiki.techinc.nl/tests/phpunit/unit/includes
vladshapik ddb80d4f77 RevisionRecordTests: create a test case to check triggering of the warning in the RevisionRecord::getId() method
Since there is the testGetIdDeprecated() test case which tests that the deprecated functionality still works in RevisionRecordTests trait. So the new testGetIdTriggerDeprecatedWarning test case was added in order to check triggering of the warning in RevisionRecord::getId() method.

Bug: T273314
Change-Id: I7248bfa5ed8b485ea79929a3bd5f8db0156c3201
2021-02-03 10:56:55 +02:00
..
auth Replace all call_user_func(_array) in all tests 2020-06-06 18:41:20 +02:00
block Move AbstractBlock::parseTarget to BlockUtils 2020-10-07 18:52:11 +00:00
cache cache: Add purges from HtmlCacheUpdater for NS_MEDIAWIKI js/css pages 2020-08-29 04:55:32 +01:00
changes Cleanup of old PHPUnit usage, part 2 2019-10-04 21:47:46 -07:00
composer Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
config More misc test cleanup 2020-12-24 00:52:06 +00:00
content Remove broken/outdated @param/@throws tags from @dataProviders 2021-01-21 03:42:42 +00:00
debug tests: Remove @param docs from test code that just repeat the signature 2021-01-21 03:41:23 +00:00
deferred
diff Make use of DiffOp::norig/nclosing() and update tests 2020-03-25 15:17:17 +00:00
editpage tests: Remove @param docs from test code that just repeat the signature 2021-01-21 03:41:23 +00:00
exception Add missing @param tags in tests 2021-02-01 20:38:05 +01:00
filebackend Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
filerepo/file
GlobalFunctions Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
HookContainer build: Update mediawiki/mediawiki-codesniffer to 35.0.0 2021-01-31 13:34:38 +00:00
htmlform HTMLCheckMatrixTest: use data providers 2021-01-15 09:30:18 +00:00
http Upstream MwHttpRequestToResponseInterfaceAdapter from Wikibase 2020-10-07 10:17:37 +02:00
installer Remove "@group Database" from non-integration tests 2021-01-12 12:11:44 +00:00
interwiki phpunit: Remove odd "MediaWiki" group from tests using it 2021-01-08 18:35:30 +00:00
jobqueue Return deduplication to CategoryMembershipJob 2019-10-29 06:10:22 +00:00
json Remove incomplete @param from test function 2021-02-01 20:19:22 +01:00
language Add missing @param tags in tests 2021-02-01 20:38:05 +01:00
libs build: Update mediawiki/mediawiki-codesniffer to 35.0.0 2021-01-31 13:34:38 +00:00
mail Convert or split some tests to MediaWikiUnitTestCase 2021-01-07 17:51:27 +00:00
media tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
Message UserNameUtils: use ITextFormatter instead of MessageLocalizer 2020-04-13 09:28:02 -07:00
objectcache Remove deprecated "legacy" serialization type from RESTBagOStuff 2020-07-13 10:29:47 -05:00
page Convert RevisionRecord to Authority and PageIdentity 2021-01-21 13:37:01 -06:00
parser More misc test cleanup 2020-12-24 00:52:06 +00:00
password Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
Permissions tests: Remove @param docs from test code that just repeat the signature 2021-01-21 03:41:23 +00:00
preferences Improve some function documentation in tests 2021-01-14 22:13:55 +01:00
registration Hook Container 2020-04-17 15:48:38 +10:00
resourceloader Fix access to services in unit tests. 2021-01-12 10:55:11 +01:00
Rest Remove incomplete @param from test function 2021-02-01 20:19:22 +01:00
Revision RevisionRecordTests: create a test case to check triggering of the warning in the RevisionRecord::getId() method 2021-02-03 10:56:55 +02:00
revisionlist Add tests for RevisionList/RevisionItem classes 2020-05-12 09:36:44 -07:00
search Convert RevisionRecord to Authority and PageIdentity 2021-01-21 13:37:01 -06:00
session Replace all call_user_func(_array) in all tests 2020-06-06 18:41:20 +02:00
shell SECURITY: Prevent invoking firejail's --output functionality 2020-09-24 16:24:36 +01:00
skins Replace tabs with spaces 2020-09-04 18:04:07 +02:00
Storage Convert RevisionRecord to Authority and PageIdentity 2021-01-21 13:37:01 -06:00
tidy Add additional RemexDriver paragraph-wrapper test 2020-06-12 09:33:31 -05:00
title Define equality for PageIdentity and LinkTarget 2021-01-19 23:07:37 +00:00
user Make UserIdentity objects aware of which wiki they belong to. 2021-02-02 16:10:51 +00:00
utils MWRestrictionsTest: add missing parent::setUpBeforeClass call 2021-01-21 07:55:01 +00:00
watcheditem Make WatchedItemQueryServiceUnitTest a pure unit test 2021-01-15 00:50:18 -08:00
BadFileLookupTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
DerivativeRequestTest.php
FactoryArgTestTrait.php Improve documentation about object to be stdClass or specific type 2020-11-20 14:47:56 +00:00
FauxResponseTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
FeedUtilsTest.php FeedUtils: Update regex to match classes appropriately, and test 2020-12-15 07:35:10 +00:00
FormOptionsInitializationTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
FormOptionsTest.php Update docblock of FormOptionsTest 2021-01-12 12:04:12 +00:00
HeaderCallbackTest.php HeaderCallback: Sanitize cookie values in debug logs 2020-06-28 22:17:28 +00:00
LicensesTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
PathRouterTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
PingbackTest.php Pingback: Refactor for dependency injection and cover with tests 2020-12-22 19:13:53 +00:00
ServiceWiringTest.php
SiteConfigurationTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
TitleArrayFromResultTest.php Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
TitleTest.php Add Unit tests for Title class 2021-01-21 03:51:20 +00:00
XmlJsTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
XmlSelectTest.php Minor cleanup to XmlSelectTest 2021-01-16 02:32:44 +00:00
XmlTest.php Convert or split some tests to MediaWikiUnitTestCase 2021-01-07 17:51:27 +00:00