Blame php-zendframework-zendservice-recaptcha-pr12.patch

02470bb
From a72b6a337c7567fd8825e3b3fcd571a117dfc4f8 Mon Sep 17 00:00:00 2001
02470bb
From: Remi Collet <fedora@famillecollet.com>
02470bb
Date: Thu, 2 Mar 2017 08:44:42 +0100
02470bb
Subject: [PATCH] tag online tests to be able to easily skip them
02470bb
02470bb
---
02470bb
 test/ReCaptchaTest.php | 6 ++++++
02470bb
 1 file changed, 6 insertions(+)
02470bb
02470bb
diff --git a/test/ReCaptchaTest.php b/test/ReCaptchaTest.php
02470bb
index f79937d..8fd4032 100644
02470bb
--- a/test/ReCaptchaTest.php
02470bb
+++ b/test/ReCaptchaTest.php
02470bb
@@ -268,6 +268,9 @@ public function testVerifyWithMissingIp()
02470bb
         $this->reCaptcha->verify('challenge', 'response');
02470bb
     }
02470bb
 
02470bb
+    /**
02470bb
+     * @group online
02470bb
+     */
02470bb
     public function testVerifyWithMissingChallengeField()
02470bb
     {
02470bb
         $this->reCaptcha->setSecretKey($this->secretKey);
02470bb
@@ -276,6 +279,9 @@ public function testVerifyWithMissingChallengeField()
02470bb
         $this->assertFalse($response->getStatus());
02470bb
     }
02470bb
 
02470bb
+    /**
02470bb
+     * @group online
02470bb
+     */
02470bb
     public function testVerifyWithMissingResponseField()
02470bb
     {
02470bb
         $this->reCaptcha->setSecretKey($this->secretKey);