Krinkle has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/352300 )

Change subject: config: Add @covers to complete GlobalVarConfig and MultiConfig
......................................................................

config: Add @covers to complete GlobalVarConfig and MultiConfig

Change-Id: Ifff51c8b078ba3a3026720f13263c7af0d7d1145
---
M tests/phpunit/includes/config/GlobalVarConfigTest.php
M tests/phpunit/includes/config/MultiConfigTest.php
2 files changed, 5 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/00/352300/1

diff --git a/tests/phpunit/includes/config/GlobalVarConfigTest.php 
b/tests/phpunit/includes/config/GlobalVarConfigTest.php
index c76e8bb..a6b220d 100644
--- a/tests/phpunit/includes/config/GlobalVarConfigTest.php
+++ b/tests/phpunit/includes/config/GlobalVarConfigTest.php
@@ -40,6 +40,7 @@
 
        /**
         * @covers GlobalVarConfig::has
+        * @covers GlobalVarConfig::hasWithPrefix
         */
        public function testHas() {
                $this->maybeStashGlobal( 'wgGlobalVarConfigTestHas' );
@@ -72,12 +73,12 @@
        }
 
        /**
-        * @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 bc6d6eb..d1eb510 100644
--- a/tests/phpunit/includes/config/MultiConfigTest.php
+++ b/tests/phpunit/includes/config/MultiConfigTest.php
@@ -5,6 +5,7 @@
        /**
         * Tests that settings are fetched in the right order
         *
+        * @covers MultiConfig::__construct
         * @covers MultiConfig::get
         */
        public function testGet() {

-- 
To view, visit https://gerrit.wikimedia.org/r/352300
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifff51c8b078ba3a3026720f13263c7af0d7d1145
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to