Page MenuHomePhabricator

Make HookRunnerTest accessible for extensions
Closed, DuplicatePublic

Description

@DannyS712 rightfully pointed out that HookRunnerTest isn't part of the public interface of classes and has to be loaded manually, despite it being a useful test helper for testing HookHandlers.

Given that many extensions are going to be converted to the new HookRunner system (T254670), HookRunnerTest adds an easy way to test those.

It helps that HookRunnerTest defines the HookRunners in a data provider that can be overridden to supply the extension HookRunner.