From: Kunal Mehta Date: Sat, 28 May 2016 02:30:42 +0000 (-0700) Subject: Improve @covers tags for LinkerTest X-Git-Tag: 1.31.0-rc.0~6785 X-Git-Url: https://git.heureux-cyclage.org/?a=commitdiff_plain;h=b74c4b2f950e705e51627e2423a3061955e12013;p=lhc%2Fweb%2Fwiklou.git Improve @covers tags for LinkerTest These hooks are now called from LinkRenderer, so make sure it is covering the right code. Change-Id: Ifaa28d471f585dce9d968cc1173c7fdceb408239 --- diff --git a/tests/phpunit/includes/LinkerTest.php b/tests/phpunit/includes/LinkerTest.php index 0dc12c7707..b7f78803d6 100644 --- a/tests/phpunit/includes/LinkerTest.php +++ b/tests/phpunit/includes/LinkerTest.php @@ -363,6 +363,7 @@ class LinkerTest extends MediaWikiLangTestCase { } /** + * @covers MediaWiki\Linker\LinkRenderer::runLegacyBeginHook * @dataProvider provideLinkBeginHook */ public function testLinkBeginHook( $callback, $expected ) { @@ -409,6 +410,7 @@ class LinkerTest extends MediaWikiLangTestCase { } /** + * @covers MediaWiki\Linker\LinkRenderer::buildAElement * @dataProvider provideLinkEndHook */ public function testLinkEndHook( $callback, $expected ) {