mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-11-30 19:14:43 +00:00
fc111cb213
Add a basic unit test for HookRunner to improve coverage and validate arguments between hook runner and hook interfaces. Change-Id: I3cb332abf9aefbb1cb435188cbf5938f4bcda0c5
17 lines
389 B
PHP
17 lines
389 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\Nuke\Test\Unit;
|
|
|
|
use MediaWiki\Extension\Nuke\Hooks\NukeHookRunner;
|
|
use MediaWiki\Tests\HookContainer\HookRunnerTestBase;
|
|
|
|
/**
|
|
* @covers \MediaWiki\Extension\Nuke\Hooks\NukeHookRunner
|
|
*/
|
|
class HookRunnerTest extends HookRunnerTestBase {
|
|
|
|
public static function provideHookRunners() {
|
|
yield NukeHookRunner::class => [ NukeHookRunner::class ];
|
|
}
|
|
}
|