config: Add @covers to complete GlobalVarConfig and MultiConfig
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 6 May 2017 00:26:01 +0000 (17:26 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 6 May 2017 00:26:01 +0000 (17:26 -0700)
Change-Id: Ifff51c8b078ba3a3026720f13263c7af0d7d1145

tests/phpunit/includes/config/GlobalVarConfigTest.php
tests/phpunit/includes/config/MultiConfigTest.php

index c76e8bb..a6b220d 100644 (file)
@@ -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 );
index bc6d6eb..d1eb510 100644 (file)
@@ -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() {