wiki.techinc.nl/tests/phpunit/includes
Roan Kattouw 9024a8ee02 CodexModuleTest: Add test for exception when requesting chunks
CodexModule throws an InvalidArgumentException if one of the elements
of the codexComponents array refers to a private chunk rather than a
public entry point file. Add a unit test asserting this behavior.

Also add an `isset()` to the check in CodexModule so that it doesn't
cause a PHP notice about a missing array index.

Bug: T353191
Change-Id: I3e31511aeeb42d825c308f047894f5eba28b0f27
2024-01-25 14:31:33 -08:00
..
actions MediaWikiEntryPoint: Inject MediaWiki services container 2024-01-24 12:39:03 +03:00
api ApiSiteInfo: Add siprop=autopromoteonce 2024-01-24 20:31:48 +00:00
auth Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
block tests: Remove explicit clean up for database tests 2024-01-20 19:55:27 +01:00
cache Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
Category
changes tests: Set rc_log_type in RecentChangeTest for log events 2023-12-12 23:03:09 +01:00
changetags Use native str_contains/str_starts_with in a few more places 2024-01-25 12:17:27 +01:00
collation
CommentStore CommentStore: Remove unused getFields method 2024-01-20 16:21:39 +01:00
composer
config
content Revert "Use Remex for DeduplicateStyles transform" 2023-12-22 11:26:09 +01:00
db
debug
deferred Change uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-22 22:27:45 +01:00
diff
editpage
exception Merge "Deprecate error printing in MWException" 2024-01-22 02:16:11 +00:00
export
ExternalLinks
externalstore
filebackend tests: Change $wgCommandLineMode hacks to preventOpportunisticUpdates() 2023-12-12 18:58:57 +00:00
filerepo Replace more instances of unchecked MWException 2024-01-23 16:20:53 +00:00
GlobalFunctions
HookContainer
Html Replace more usages of deprecated MWException 2024-01-19 22:01:12 +00:00
htmlform
http
import Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
installer Namespace WebInstaller classes 2024-01-11 23:29:14 +00:00
interwiki Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
jobqueue Replace more instances of unchecked MWException 2024-01-23 16:20:53 +00:00
language Replace more instances of deprecated MWException 2024-01-19 23:11:59 +00:00
languages
libs
linkeddata
linker
logging Allow MergeHistory to split up joined revisions with same timestamp 2024-01-05 23:09:15 +00:00
mail
media Replace more instances of unchecked MWException 2024-01-23 16:20:53 +00:00
Message
Navigation
objectcache
Output Replace more usages of deprecated MWException 2024-01-19 22:01:12 +00:00
OutputTransform tests: Rename OutputTransformStageTest for PHPUnit 9.6 2024-01-17 17:41:36 +01:00
page Merge "Change more uses of getDBLoadBalancerFactory() to getConnectionProvider()" 2024-01-23 17:59:21 +00:00
pager
ParamValidator/TypeDef
parser Replace more instances of unchecked MWException 2024-01-23 16:20:53 +00:00
password
Permissions tests: Remove cleanup of blocks, done by ChangedTablesTracker 2024-01-20 11:41:15 +01:00
poolcounter Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
preferences Update tests for PHPUnit 9.6 (part 2) 2024-01-17 18:16:38 +01:00
profiler
rcfeed
registration
Request
ResourceLoader CodexModuleTest: Add test for exception when requesting chunks 2024-01-25 14:31:33 -08:00
Rest Update tests for PHPUnit 9.6 (part 2) 2024-01-17 18:16:38 +01:00
Revision Merge "Use native str_contains/str_starts_with in a few more places" 2024-01-25 16:27:36 +00:00
search Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
session Merge "Allow setting page restrictions on BotPassword grants" 2023-12-15 06:04:00 +00:00
shell
site Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
SiteStats
skins skins: move testGetDefaultModulesForContent to SkinTest.php 2024-01-11 13:58:04 +00:00
sparql
specialpage tests: Replace usages of wfGetDB 2024-01-18 00:12:59 +00:00
specials Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
Status
Storage Merge "Change more uses of getDBLoadBalancerFactory() to getConnectionProvider()" 2024-01-23 17:59:21 +00:00
title update a few tests to use PHP 7.4 syntax 2024-01-09 10:19:00 +02:00
upload
user Merge "Change more uses of getDBLoadBalancerFactory() to getConnectionProvider()" 2024-01-23 17:59:21 +00:00
utils
watcheditem Migrate remaining Database::insert calls to InsertQueryBuilder 2023-12-22 14:53:17 +01:00
WikiMap
xml
AutoLoaderTest.php
MediaWikiServicesTest.php Deprecate never-used ConfigRepository service 2024-01-24 17:52:19 -05:00
MediaWikiTest.php Introduce MediaWikiEntryPoint and ActionEntryPoint 2024-01-03 19:20:44 +01:00
MockServiceWiring.php
SampleTest.php
TestUser.php Change uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-22 22:27:45 +01:00
TestUserRegistry.php update a few tests to use PHP 7.4 syntax 2024-01-09 10:19:00 +02:00