aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/http/HttpTest.php
diff options
context:
space:
mode:
authorKunal Mehta <legoktm@member.fsf.org>2017-12-28 00:38:21 -0800
committerLegoktm <legoktm@member.fsf.org>2017-12-28 08:53:40 +0000
commit92ee198c66c8798b7a728a7d67bef8520ebd01de (patch)
tree87dab87cfc7a81fc89229d344c2cff1bf1dda112 /tests/phpunit/includes/http/HttpTest.php
parenta166e509431ab2f002e3ae68ac3b01a4261a9b16 (diff)
downloadmediawikicore-92ee198c66c8798b7a728a7d67bef8520ebd01de.tar.gz
mediawikicore-92ee198c66c8798b7a728a7d67bef8520ebd01de.zip
Add @coversNothing in places where @covers does not apply
These tests apply to things that are not relevant to PHP code coverage, such as testing presence of messages, JSON files, or the PHPUnit tests themselves. Using @coversNothing indicates that there is no code here to be covered, and prevents warnings when using --strict-coverage mode (T152923). Change-Id: Id89ee2c15a3ce3f10e34b13fb677cd1af75af9e6
Diffstat (limited to 'tests/phpunit/includes/http/HttpTest.php')
-rw-r--r--tests/phpunit/includes/http/HttpTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/phpunit/includes/http/HttpTest.php b/tests/phpunit/includes/http/HttpTest.php
index 2d73bac5483c..8ca9f6a268b6 100644
--- a/tests/phpunit/includes/http/HttpTest.php
+++ b/tests/phpunit/includes/http/HttpTest.php
@@ -495,6 +495,7 @@ class HttpTest extends MediaWikiTestCase {
* where it did not define a cURL constant. T72570
*
* @dataProvider provideCurlConstants
+ * @coversNothing
*/
public function testCurlConstants( $value ) {
$this->checkPHPExtension( 'curl' );