wiki.techinc.nl/tests/phpunit/structure
daniel 97eae33cf5 REST: introduce getBodyParamSettings
Since we introduced support for the "body" PARAM_SOURCE in
getParamSettings, fields in the request body can be defined in the same
way that path and query parameters are defined. However, body fields are
treated separately by the framework, and the value of body fields are
available through getValidatedBody(), rather than getValidatedParams().

Because of that, it makes sense to have a method that returns the param
settings just for the body fields. This also allows handler classes to
override this method separately to specify body fields. That way, it
also becomes possible to have body fields that have the same name as
other parameters.

Bug: T362850
Change-Id: Ia85bf7e46c949a999052d91f1b0d7d579a880108
2024-05-07 17:35:36 +00:00
..
AbstractSchemaValidationTest.php
ApiPrefixUniquenessTest.php Avoid DB access in more non-Database tests 2023-08-06 16:07:27 +00:00
ApiStructureTest.php Namespace includes/context 2024-02-08 11:07:01 -05:00
AutoLoaderStructureTest.php Replace substr with cleaner string methods 2023-05-20 15:40:21 +02:00
AvailableRightsTest.php Clean up tests 2024-02-12 09:25:25 +01:00
BundleSizeTestBase.php Clean up tests 2024-02-12 09:25:25 +01:00
CodexTokenDefaultsTest.php mediawiki.skin.defaults.less: Add neutral values for all Codex tokens 2023-03-15 17:23:51 -07:00
ContentHandlerFunctionalTest.php Merge "Remove deprecated methods from Content interface" 2023-11-28 15:52:14 +00:00
DatabaseIntegrationTest.php Change uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-22 22:27:45 +01:00
DumpableObjectsTest.php tests: Use namespaced classes 2023-12-11 15:59:55 +01:00
ExtensionJsonValidationTest.php
PasswordPolicyStructureTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
PHPUnitConfigTest.php Clean up tests 2024-02-12 09:25:25 +01:00
ResourcesTest.php ResourcesTest: Test 'packageFiles' existence too 2024-04-16 17:58:03 +00:00
RestStructureTest.php REST: introduce getBodyParamSettings 2024-05-07 17:35:36 +00:00
ScopeStructureTest.php
SettingsTest.php objectcache: Introduce ObjectCacheFactory MW service 2024-03-19 12:38:39 +03:00
SpecialPageFatalTest.php Do not use UTSysop directly in tests 2023-08-16 00:35:25 +00:00
StructureTest.php