mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-30 19:04:29 +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 ];
|
|
}
|
|
}
|