mediawiki-extensions-Confir.../tests/phpunit/unit/HookRunnerTest.php
Umherirrender 725f9ee4b5 tests: Add basic test for HookRunner
Add a basic unit test for HookRunner to improve coverage and
validate arguments between hook runner and hook interfaces.

Change-Id: Ib0c1f79fe724c1567081cec62894e2d35d00b812
2023-05-31 23:14:29 +02:00

17 lines
394 B
PHP

<?php
namespace MediaWiki\Extension\ConfirmEdit\Test\Unit;
use MediaWiki\Extension\ConfirmEdit\Hooks\HookRunner;
use MediaWiki\Tests\HookContainer\HookRunnerTestBase;
/**
* @covers \MediaWiki\Extension\ConfirmEdit\Hooks\HookRunner
*/
class HookRunnerTest extends HookRunnerTestBase {
public static function provideHookRunners() {
yield HookRunner::class => [ HookRunner::class ];
}
}