From eb19c590a57f60e105389da744e2fc0b6afbd5b3 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Fri, 5 May 2017 17:26:01 -0700 Subject: [PATCH] config: Add @covers to complete GlobalVarConfig and MultiConfig Change-Id: Ifff51c8b078ba3a3026720f13263c7af0d7d1145 --- tests/phpunit/includes/config/GlobalVarConfigTest.php | 7 ++++--- tests/phpunit/includes/config/MultiConfigTest.php | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/includes/config/GlobalVarConfigTest.php b/tests/phpunit/includes/config/GlobalVarConfigTest.php index c76e8bbddd..a6b220d6f6 100644 --- a/tests/phpunit/includes/config/GlobalVarConfigTest.php +++ b/tests/phpunit/includes/config/GlobalVarConfigTest.php @@ -40,6 +40,7 @@ class GlobalVarConfigTest extends MediaWikiTestCase { /** * @covers GlobalVarConfig::has + * @covers GlobalVarConfig::hasWithPrefix */ public function testHas() { $this->maybeStashGlobal( 'wgGlobalVarConfigTestHas' ); @@ -72,12 +73,12 @@ class GlobalVarConfigTest extends MediaWikiTestCase { } /** - * @param string $name - * @param string $prefix - * @param string $expected * @dataProvider provideGet * @covers GlobalVarConfig::get * @covers GlobalVarConfig::getWithPrefix + * @param string $name + * @param string $prefix + * @param string $expected */ public function testGet( $name, $prefix, $expected ) { $config = new GlobalVarConfig( $prefix ); diff --git a/tests/phpunit/includes/config/MultiConfigTest.php b/tests/phpunit/includes/config/MultiConfigTest.php index bc6d6eb2e0..d1eb5102c1 100644 --- a/tests/phpunit/includes/config/MultiConfigTest.php +++ b/tests/phpunit/includes/config/MultiConfigTest.php @@ -5,6 +5,7 @@ class MultiConfigTest extends MediaWikiTestCase { /** * Tests that settings are fetched in the right order * + * @covers MultiConfig::__construct * @covers MultiConfig::get */ public function testGet() { -- 2.20.1