summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2015-11-21 01:06:36 (GMT)
committerhass2015-11-21 01:06:36 (GMT)
commita4c64be1beb1fa1b8c031746fa5e17b1f82e2d32 (patch)
treecf8d9651db5e288dd63f89df6d8fafa17ebd6a4b
parent3b74867873e9db25bb54342aa1f33983cede26bd (diff)
Visibility of functions8.x-2.0-rc1
-rw-r--r--src/Tests/ReCaptchaBasicTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Tests/ReCaptchaBasicTest.php b/src/Tests/ReCaptchaBasicTest.php
index 8949c1a..1ffc133 100644
--- a/src/Tests/ReCaptchaBasicTest.php
+++ b/src/Tests/ReCaptchaBasicTest.php
@@ -53,7 +53,7 @@ class ReCaptchaBasicTest extends WebTestBase {
/**
* Test access to the administration page.
*/
- function testReCaptchaAdminAccess() {
+ public function testReCaptchaAdminAccess() {
$this->drupalLogin($this->admin_user);
$this->drupalGet('admin/config/people/captcha/recaptcha');
$this->assertNoText(t('Access denied'), 'Admin users should be able to access the reCAPTCHA admin page', 'reCAPTCHA');
@@ -63,7 +63,7 @@ class ReCaptchaBasicTest extends WebTestBase {
/**
* Test the reCAPTCHA settings form.
*/
- function testReCaptchaAdminSettingsForm() {
+ public function testReCaptchaAdminSettingsForm() {
$this->drupalLogin($this->admin_user);
$site_key = $this->randomMachineName(40);
@@ -96,7 +96,7 @@ class ReCaptchaBasicTest extends WebTestBase {
/**
* Testing the protection of the user login form.
*/
- function testReCaptchaOnLoginForm() {
+ public function testReCaptchaOnLoginForm() {
$site_key = $this->randomMachineName(40);
$secret_key = $this->randomMachineName(40);
$grecaptcha = '<div class="g-recaptcha" data-sitekey="' . $site_key . '" data-theme="light" data-type="image"></div>';