summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-03-23 16:44:42 +0100
committerRemi Collet <fedora@famillecollet.com>2017-03-23 16:44:42 +0100
commite9cb0a09e5c83f45294882930792427f4ef7e7d7 (patch)
treead8d2fca4f5839ef4cea51386e8f26c8bb072e17
parent5a17f800bbda88f1da4dcd67bbbd7df7f250458e (diff)
missing patch
-rw-r--r--php-zendframework-zendservice-recaptcha-pr12.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/php-zendframework-zendservice-recaptcha-pr12.patch b/php-zendframework-zendservice-recaptcha-pr12.patch
new file mode 100644
index 0000000..9d8d668
--- /dev/null
+++ b/php-zendframework-zendservice-recaptcha-pr12.patch
@@ -0,0 +1,33 @@
+From a72b6a337c7567fd8825e3b3fcd571a117dfc4f8 Mon Sep 17 00:00:00 2001
+From: Remi Collet <fedora@famillecollet.com>
+Date: Thu, 2 Mar 2017 08:44:42 +0100
+Subject: [PATCH] tag online tests to be able to easily skip them
+
+---
+ test/ReCaptchaTest.php | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/test/ReCaptchaTest.php b/test/ReCaptchaTest.php
+index f79937d..8fd4032 100644
+--- a/test/ReCaptchaTest.php
++++ b/test/ReCaptchaTest.php
+@@ -268,6 +268,9 @@ public function testVerifyWithMissingIp()
+ $this->reCaptcha->verify('challenge', 'response');
+ }
+
++ /**
++ * @group online
++ */
+ public function testVerifyWithMissingChallengeField()
+ {
+ $this->reCaptcha->setSecretKey($this->secretKey);
+@@ -276,6 +279,9 @@ public function testVerifyWithMissingChallengeField()
+ $this->assertFalse($response->getStatus());
+ }
+
++ /**
++ * @group online
++ */
+ public function testVerifyWithMissingResponseField()
+ {
+ $this->reCaptcha->setSecretKey($this->secretKey);