From: Kunal Mehta Date: Fri, 26 Aug 2016 01:28:22 +0000 (-0700) Subject: Improve @covers tags for ComposerJson and ComposerLock tests X-Git-Tag: 1.31.0-rc.0~5214^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=8e7803aae9cdc7d2ed855762566898e45a6cf84e;p=lhc%2Fweb%2Fwiklou.git Improve @covers tags for ComposerJson and ComposerLock tests Indicate that the constructors are also covered in the tests. Change-Id: Ic87603c76e8affc31f497962375c39fb2726e604 --- diff --git a/tests/phpunit/includes/libs/composer/ComposerJsonTest.php b/tests/phpunit/includes/libs/composer/ComposerJsonTest.php index 2072752d67..3cde3e2344 100644 --- a/tests/phpunit/includes/libs/composer/ComposerJsonTest.php +++ b/tests/phpunit/includes/libs/composer/ComposerJsonTest.php @@ -28,6 +28,7 @@ class ComposerJsonTest extends MediaWikiTestCase { } /** + * @covers ComposerJson::__construct * @covers ComposerJson::getRequiredDependencies */ public function testGetRequiredDependencies() { diff --git a/tests/phpunit/includes/libs/composer/ComposerLockTest.php b/tests/phpunit/includes/libs/composer/ComposerLockTest.php index 75eb62caa8..3d5e8d346e 100644 --- a/tests/phpunit/includes/libs/composer/ComposerLockTest.php +++ b/tests/phpunit/includes/libs/composer/ComposerLockTest.php @@ -19,6 +19,7 @@ class ComposerLockTest extends MediaWikiTestCase { } /** + * @covers ComposerLock::__construct * @covers ComposerLock::getInstalledDependencies */ public function testGetInstalledDependencies() {