blob: ae19583b63b9f2e56aefcdededde2ec2685258be (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
namespace MediaWiki\Tests\HookContainer;
use MediaWiki\Api\ApiHookRunner;
use MediaWiki\HookContainer\HookRunner;
use MediaWiki\ResourceLoader as RL;
/**
* Tests that all arguments passed into HookRunner are passed along to HookContainer.
* @covers \MediaWiki\HookContainer\HookRunner
* @covers \MediaWiki\Api\ApiHookRunner
* @covers \MediaWiki\ResourceLoader\HookRunner
*/
class HookRunnerTest extends HookRunnerTestBase {
public static function provideHookRunners() {
yield ApiHookRunner::class => [ ApiHookRunner::class ];
yield HookRunner::class => [ HookRunner::class ];
yield RL\HookRunner::class => [ RL\HookRunner::class ];
}
}
|