wiki.techinc.nl/tests/phpunit/unit/includes
Daimona Eaytoy 2012fe3b2b Improve error messages in EditFilterMergedContentHookConstraint
Use multiple error boxes instead of a wikitext list of error messages,
as the latter has several issues (as reported on phab). Also, remove the
edit-error-* messages as they don't seem to add any value. Also, don't
use the passed-in context, inject what the class actually needs instead
(but keep the context for the hook).

Bug: T303060
Bug: T230229
Change-Id: I2806e57826e7ab062b45dd1d9972b05fd6baeafb
2022-03-22 14:53:02 +01:00
..
actions Merge "Use updated ObjectFactory namespace" 2022-03-12 00:19:53 +00:00
api Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
auth Hard deprecate the setters of AbstractAuthenticationProvider class 2021-05-31 13:02:39 +00:00
block Introduce a BlockRestrictionStoreFactory 2022-01-24 20:17:40 +01:00
cache Fix pollution of LinkBatch/LinkCache with interwiki link 2022-01-28 10:52:38 +11:00
changes Remove some more comments that literally repeat the code 2021-12-09 19:01:36 +01:00
CommentFormatter Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
composer
config Merge "Simplify DnsSrvDiscoverer interface" 2022-02-17 15:16:44 +00:00
content Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
context Revert "Use CsrfTokenSet as CSRF token source" 2021-08-05 15:48:26 -07:00
dao Give WikiAwareEntityTrait it's own unit tests. 2021-04-27 20:31:14 -07:00
db Add validation for abstract schema 2022-02-22 17:41:08 +00:00
debug build: Updating dependencies 2021-07-22 03:36:05 +00:00
deferred Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
diff Remove meaningless ->expects( $this->any() ) from all tests 2021-04-23 11:58:58 +02:00
editpage Improve error messages in EditFilterMergedContentHookConstraint 2022-03-22 14:53:02 +01:00
exception build: Updating dependencies 2021-07-22 03:36:05 +00:00
filebackend Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
filerepo/file
GlobalFunctions Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
historyblob build: Updating dependencies 2021-07-22 03:36:05 +00:00
HookContainer Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
htmlform Hard deprecate User::setOption() 2021-09-26 17:18:54 +02:00
http Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
import WikiImporter: inject services 2021-05-24 23:10:07 +02:00
installer Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
interwiki build: Updating dependencies 2021-07-22 03:36:05 +00:00
jobqueue build: Updating dependencies 2021-07-22 03:36:05 +00:00
json Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
language tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
libs Fix phpunit failures due to invalid testGetResultAllTables provider 2022-03-19 20:58:45 +00:00
linker Add comment flag to LinkRenderer 2021-11-02 13:03:20 +01:00
mail Make MailAddressTest a unit test 2021-07-23 10:30:04 +00:00
media Replace new stdClass with more compact array syntax 2021-11-02 09:43:03 +00:00
Message Convert ConverterTest to pure unit tests 2021-03-22 15:59:42 +00:00
objectcache build: Updating dependencies 2021-07-22 03:36:05 +00:00
page Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
ParamValidator/TypeDef Merge "ParamValidator: Allow to use User:0 in UserDef" 2022-03-15 23:25:24 +00:00
parser Add Sanitizer::removeSomeTags() which uses Remex to tokenize 2022-03-04 14:06:02 -05:00
password Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
Permissions Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
poolcounter phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
preferences Hard deprecate TitleFactory::newFromIDs and Title::newFromIDs 2021-11-29 14:23:26 -05: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 phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
Rest Merge "Integration test for extension registration" 2022-03-16 17:05:36 +00:00
Revision tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
revisionlist
search phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
session Move CRSF token generation to CsrfTokenSet 2021-06-18 12:24:19 -07:00
Settings Use class constants to define config schema, rather than config-schema.yaml 2022-03-17 21:20:03 +01:00
shell ShellboxClientFactory: add RPCClient getters 2021-11-05 16:41:22 +00:00
site Convert MediaWikiPageNameNormalizerTest to a pure unit test 2021-03-11 18:45:57 +00:00
skins Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
Storage Remove change tags for media additions/removals 2022-02-28 11:08:09 +01:00
tidy phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
title build: Upgrade mediawiki-codesniffer from v35.0.0 to v36.0.0 2021-04-29 13:00:15 -07:00
user Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
utils phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
watcheditem Fix pollution of LinkBatch/LinkCache with interwiki link 2022-01-28 10:52:38 +11:00
watchlist Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
BadFileLookupTest.php Use DummyServicesTrait for BadFileLookupTest TitleParser 2021-07-28 20:50:20 +00:00
DeprecatedGlobalTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
DerivativeRequestTest.php
FactoryArgTestTrait.php Remove some more comments that literally repeat the code 2021-06-18 21:23:56 +00:00
FauxResponseTest.php remove access to config globals from FauxResponse 2022-01-28 22:45:36 +01:00
FeedUtilsTest.php
FormOptionsInitializationTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
FormOptionsTest.php Update docblock of FormOptionsTest 2021-01-12 12:04:12 +00:00
HeaderCallbackTest.php
LicensesTest.php More misc test cleanup 2020-12-24 00:52:06 +00:00
ListToggleTest.php Only apply transformations for &uselang=qqx when actually using it 2022-03-08 01:50:44 +00:00
MovePageTest.php Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
PathRouterTest.php Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
PingbackTest.php rdbms: Add more return typehints 2021-09-07 08:23:36 +00:00
ProxyLookupTest.php Add tests for ProxyLookup 2021-03-31 00:21:24 +00:00
ReadOnlyModeTest.php phpunit: Remove file_exists check from ReadOnlyModeTest 2021-09-11 18:22:16 +00:00
SiteConfigurationTest.php SiteConfiguration: Don't pass null to str_replace() 2022-01-11 14:42:50 +01:00
TitleArrayFromResultTest.php Stop accessing members of the Title class publicly 2021-11-22 14:22:51 +00:00
TitleTest.php tests: Avoid trying to access the DB in data providers 2021-09-20 10:32:45 +01:00
WikiReferenceTest.php Move WikiReferenceTest to a unit test 2021-05-02 10:00:52 +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 Move Xml::expandAttributes tests to unit tests 2021-03-07 19:27:11 +00:00