mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-24 05:42:54 +00:00
725f9ee4b5
Add a basic unit test for HookRunner to improve coverage and validate arguments between hook runner and hook interfaces. Change-Id: Ib0c1f79fe724c1567081cec62894e2d35d00b812
17 lines
394 B
PHP
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 ];
|
|
}
|
|
}
|