diff --git a/src/Tests/ReCaptchaBasicTest.php b/src/Tests/ReCaptchaBasicTest.php index 8949c1a3e634d8aa93ba381cc15566d8f677d1d2..1ffc13368158ec1727459dc98b8b064d3883cc32 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 = '
';