mediawiki-extensions-PageIm.../tests/phpunit/Hooks
Matthias Mullie c75b00d14d Ensure array is passed to getProperties
PageImages::getPropNames can return either array or string,
and PageProps::getProperties accepts both.
But the latter's return value will be different depending
on the type of input: with an array as input, the returned
array's values will be an associative array where the index
is the propname; with a string, it's just the propvalue.

This difference matters because the code below assumes an
array with propname keys.

Bug: T323152
Change-Id: I422951ec0cd5c651b32c65e88a557d49f2f22712
2022-11-16 09:33:37 +01:00
..
ParserFileProcessingHookHandlersTest.php Inject services into hook handler 2022-09-03 00:15:57 +02:00
SearchResultProvideThumbnailHookHandlerTest.php Ensure array is passed to getProperties 2022-11-16 09:33:37 +01:00