mediawiki-extensions-Cite/tests/phpunit/unit
Timo Tijhof ce27a400e1 CiteHooks: Remove wgResourceModules check (redundant with isModuleRegistered)
The isModuleRegistered() method was introduced a few years ago,
when the load order in ResourceLoader was undergoing a change.

It used to be that hooks like were run first to register modules, and then
wgResourceModules was registered afterwards. This was reversed to disallow
mutating the config at run-time from foreign modules and to allow better
caching and error detection.

It's been several years since then, so this redundant check is no longer
needed. ServiceWiring.php in MW core for ResourceLoader always processes
config and extension.json first before this hook is called.

Bug: T247265
Change-Id: I466f1fa70b8f0e9fe5e8e8df90bb0001b3329b87
2020-03-10 16:18:46 +00:00
..
AnchorFormatterTest.php Fix unit tests for whitespace change in Html5 fragments 2020-02-25 13:56:53 +00:00
CiteDataModuleTest.php Final clean-ups for a more consistent parameter order 2020-01-09 12:13:54 +01:00
CiteHooksUnitTest.php CiteHooks: Remove wgResourceModules check (redundant with isModuleRegistered) 2020-03-10 16:18:46 +00:00
CiteParserHooksTest.php Lazy instantiation of Cite 2019-12-12 11:12:17 +01:00
CiteParserTagHooksTest.php Add missing @covers tags to tests 2019-12-18 16:46:15 +00:00
CiteUnitTest.php Revert "Standardize "follow" validation" 2020-02-05 11:42:28 +01:00
ErrorReporterTest.php Rewrite ErrorReporter for performance and separation of concerns 2020-02-03 15:23:40 +01:00
FootnoteMarkFormatterTest.php Remove single use classes from the use section 2019-12-17 14:57:55 +01:00
ReferenceMessageLocalizerUnitTest.php Remove single use classes from the use section 2019-12-17 14:57:55 +01:00
ReferencesFormatterTest.php Don't talk about follow being "broken" but "incomplete" 2020-02-05 16:38:49 +00:00
ReferenceStackTest.php Don't talk about follow being "broken" but "incomplete" 2020-02-05 16:38:49 +00:00