jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/406002 )

Change subject: Add @covers tags
......................................................................


Add @covers tags

Change-Id: I1e99261acb13c86e96c1b2dd1cb61918ebc660c2
---
M tests/phpunit/CaptchaAuthenticationRequestTest.php
M tests/phpunit/CaptchaPreAuthenticationProviderTest.php
M tests/phpunit/HTMLFancyCaptchaFieldTest.php
M tests/phpunit/HTMLReCaptchaFieldTest.php
M tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
M tests/phpunit/HTMLSubmittedValueFieldTest.php
M tests/phpunit/QuestyCaptchaTest.php
M tests/phpunit/ReCaptchaAuthenticationRequestTest.php
M tests/phpunit/ReCaptchaNoCaptchaAuthenticationRequestTest.php
M tests/phpunit/SimpleCaptcha/CaptchaTest.php
10 files changed, 28 insertions(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jforrester: Looks good to me, approved



diff --git a/tests/phpunit/CaptchaAuthenticationRequestTest.php 
b/tests/phpunit/CaptchaAuthenticationRequestTest.php
index 31f8ab0..380716f 100644
--- a/tests/phpunit/CaptchaAuthenticationRequestTest.php
+++ b/tests/phpunit/CaptchaAuthenticationRequestTest.php
@@ -2,6 +2,9 @@
 
 use MediaWiki\Auth\AuthenticationRequestTestCase;
 
+/**
+ * @covers CaptchaAuthenticationRequest
+ */
 class CaptchaAuthenticationRequestTest extends AuthenticationRequestTestCase {
        public function setUp() {
                parent::setUp();
diff --git a/tests/phpunit/CaptchaPreAuthenticationProviderTest.php 
b/tests/phpunit/CaptchaPreAuthenticationProviderTest.php
index eb06f5a..8e56c36 100644
--- a/tests/phpunit/CaptchaPreAuthenticationProviderTest.php
+++ b/tests/phpunit/CaptchaPreAuthenticationProviderTest.php
@@ -5,6 +5,7 @@
 use Wikimedia\TestingAccessWrapper;
 
 /**
+ * @covers CaptchaPreAuthenticationProvider
  * @group Database
  */
 class CaptchaPreAuthenticationProviderTest extends MediaWikiTestCase {
diff --git a/tests/phpunit/HTMLFancyCaptchaFieldTest.php 
b/tests/phpunit/HTMLFancyCaptchaFieldTest.php
index 9c3bbe3..37fa727 100644
--- a/tests/phpunit/HTMLFancyCaptchaFieldTest.php
+++ b/tests/phpunit/HTMLFancyCaptchaFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . '/../../FancyCaptcha/HTMLFancyCaptchaField.php';
 
+/**
+ * @covers HTMLFancyCaptchaField
+ */
 class HTMLFancyCaptchaFieldTest extends PHPUnit_Framework_TestCase {
        public function testGetHTML() {
                $html = $this->getForm( [ 'imageUrl' => 'https://example.com/' 
] )->getHTML( false );
diff --git a/tests/phpunit/HTMLReCaptchaFieldTest.php 
b/tests/phpunit/HTMLReCaptchaFieldTest.php
index 0ec600f..0754cd7 100644
--- a/tests/phpunit/HTMLReCaptchaFieldTest.php
+++ b/tests/phpunit/HTMLReCaptchaFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . '/../../ReCaptcha/HTMLReCaptchaField.php';
 
+/**
+ * @covers HTMLReCaptchaField
+ */
 class HTMLReCaptchaFieldTest extends PHPUnit_Framework_TestCase {
        public function testSubmit() {
                $form = new HTMLForm( [
diff --git a/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php 
b/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
index 206f8fa..cc14e36 100644
--- a/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
+++ b/tests/phpunit/HTMLReCaptchaNoCaptchaFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . 
'/../../ReCaptchaNoCaptcha/HTMLReCaptchaNoCaptchaField.php';
 
+/**
+ * @covers HTMLReCaptchaNoCaptchaField
+ */
 class HTMLReCaptchaNoCaptchaFieldTest extends PHPUnit_Framework_TestCase {
        public function testSubmit() {
                $form = new HTMLForm( [
diff --git a/tests/phpunit/HTMLSubmittedValueFieldTest.php 
b/tests/phpunit/HTMLSubmittedValueFieldTest.php
index 8fa114c..4029a8c 100644
--- a/tests/phpunit/HTMLSubmittedValueFieldTest.php
+++ b/tests/phpunit/HTMLSubmittedValueFieldTest.php
@@ -2,6 +2,9 @@
 
 require_once __DIR__ . '/../../ReCaptcha/HTMLSubmittedValueField.php';
 
+/**
+ * @covers HTMLSubmittedValueField
+ */
 class HTMLSubmittedValueFieldTest extends PHPUnit_Framework_TestCase {
        public function testSubmit() {
                $form = new HTMLForm( [
diff --git a/tests/phpunit/QuestyCaptchaTest.php 
b/tests/phpunit/QuestyCaptchaTest.php
index 5a9480a..e76469b 100644
--- a/tests/phpunit/QuestyCaptchaTest.php
+++ b/tests/phpunit/QuestyCaptchaTest.php
@@ -1,5 +1,8 @@
 <?php
 
+/**
+ * @covers QuestyCaptcha
+ */
 class QuestyCaptchaTest extends MediaWikiTestCase {
 
        public function setUp() {
diff --git a/tests/phpunit/ReCaptchaAuthenticationRequestTest.php 
b/tests/phpunit/ReCaptchaAuthenticationRequestTest.php
index 71fa058..bc645b8 100644
--- a/tests/phpunit/ReCaptchaAuthenticationRequestTest.php
+++ b/tests/phpunit/ReCaptchaAuthenticationRequestTest.php
@@ -4,6 +4,9 @@
 
 require_once __DIR__ . '/../../ReCaptcha/ReCaptchaAuthenticationRequest.php';
 
+/**
+ * @covers ReCaptchaAuthenticationRequest
+ */
 class ReCaptchaAuthenticationRequestTest extends AuthenticationRequestTestCase 
{
        protected function getInstance( array $args = [] ) {
                return new ReCaptchaAuthenticationRequest();
diff --git a/tests/phpunit/ReCaptchaNoCaptchaAuthenticationRequestTest.php 
b/tests/phpunit/ReCaptchaNoCaptchaAuthenticationRequestTest.php
index af81ea2..d4917b5 100644
--- a/tests/phpunit/ReCaptchaNoCaptchaAuthenticationRequestTest.php
+++ b/tests/phpunit/ReCaptchaNoCaptchaAuthenticationRequestTest.php
@@ -4,6 +4,9 @@
 
 require_once __DIR__ . 
'/../../ReCaptchaNoCaptcha/ReCaptchaNoCaptchaAuthenticationRequest.php';
 
+/**
+ * @covers ReCaptchaNoCaptchaAuthenticationRequest
+ */
 class ReCaptchaNoCaptchaAuthenticationRequestTest extends 
AuthenticationRequestTestCase {
        protected function getInstance( array $args = [] ) {
                return new ReCaptchaNoCaptchaAuthenticationRequest();
diff --git a/tests/phpunit/SimpleCaptcha/CaptchaTest.php 
b/tests/phpunit/SimpleCaptcha/CaptchaTest.php
index 261a47e..6837bfc 100644
--- a/tests/phpunit/SimpleCaptcha/CaptchaTest.php
+++ b/tests/phpunit/SimpleCaptcha/CaptchaTest.php
@@ -1,5 +1,8 @@
 <?php
 
+/**
+ * @covers SimpleCaptcha
+ */
 class CaptchaTest extends MediaWikiTestCase {
        /**
         * @dataProvider provideSimpleTriggersCaptcha

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1e99261acb13c86e96c1b2dd1cb61918ebc660c2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ConfirmEdit
Gerrit-Branch: master
Gerrit-Owner: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to