From: Timo Tijhof Date: Sat, 6 May 2017 00:26:01 +0000 (-0700) Subject: config: Add @covers to complete GlobalVarConfig and MultiConfig X-Git-Tag: 1.31.0-rc.0~3322 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=eb19c590a57f60e105389da744e2fc0b6afbd5b3;p=lhc%2Fweb%2Fwiklou.git config: Add @covers to complete GlobalVarConfig and MultiConfig Change-Id: Ifff51c8b078ba3a3026720f13263c7af0d7d1145 --- 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() {