From: Kunal Mehta Date: Mon, 7 May 2018 08:22:40 +0000 (-0700) Subject: tests: Add some more @covers tags X-Git-Tag: 1.34.0-rc.0~5509 X-Git-Url: http://git.cyclocoop.org/%27.parametre_url%28%20%20%20generer_action_auteur%28%27charger_plugin%27%2C%20%27update_flux%27%29%2C%27update_flux%27%2C%20%27oui%27%29.%27?a=commitdiff_plain;h=38129123f24174d701af1c013f60cf9543687e10;p=lhc%2Fweb%2Fwiklou.git tests: Add some more @covers tags Change-Id: I84b66879773d97593152b683ff69d034ed67aa3d --- diff --git a/tests/phpunit/includes/MovePageTest.php b/tests/phpunit/includes/MovePageTest.php index 2bde97b66b..583b75184d 100644 --- a/tests/phpunit/includes/MovePageTest.php +++ b/tests/phpunit/includes/MovePageTest.php @@ -43,6 +43,8 @@ class MovePageTest extends MediaWikiTestCase { /** * Integration test to catch regressions like T74870. Taken and modified * from SemanticMediaWiki + * + * @covers Title::moveTo */ public function testTitleMoveCompleteIntegrationTest() { $oldTitle = Title::newFromText( 'Help:Some title' ); diff --git a/tests/phpunit/includes/OutputPageTest.php b/tests/phpunit/includes/OutputPageTest.php index a5a7364488..91655eaeee 100644 --- a/tests/phpunit/includes/OutputPageTest.php +++ b/tests/phpunit/includes/OutputPageTest.php @@ -151,6 +151,7 @@ class OutputPageTest extends MediaWikiTestCase { /** * @dataProvider provideCdnCacheEpoch + * @covers OutputPage::getCdnCacheEpoch */ public function testCdnCacheEpoch( $params ) { $out = TestingAccessWrapper::newFromObject( $this->newInstance() ); diff --git a/tests/phpunit/includes/SampleTest.php b/tests/phpunit/includes/SampleTest.php index 3d74ae3efc..474746626d 100644 --- a/tests/phpunit/includes/SampleTest.php +++ b/tests/phpunit/includes/SampleTest.php @@ -1,5 +1,8 @@