wiki.techinc.nl/tests/phpunit/unit/includes/HookContainer
Tim Starling b3d762e148 Add HookRegistry
Add a HookRegistry interface and two concrete implementations,
representing HookContainer's view of its environment. This simplifies
creation of a HookContainer for testing.

Add MediaWikiTestCaseTrait::createHookContainer() which can be used
in most of the places that were previously creating mock hook
containers. It can also replace setTemporaryHook() in some cases.

Change-Id: I9ce15591dc40b3d717c203fa973141aa45a2500c
2020-05-13 11:51:02 +10:00
..
DeprecatedHooksTest.php
HookContainerTest.php Add HookRegistry 2020-05-13 11:51:02 +10:00