You are here

constant CAPTCHA_WRONG_RESPONSE_ERROR_MESSAGE in CAPTCHA 7

Same name and namespace in other branches
  1. 6.2 captcha.test \CAPTCHA_WRONG_RESPONSE_ERROR_MESSAGE
5 uses of CAPTCHA_WRONG_RESPONSE_ERROR_MESSAGE
CaptchaAdminTestCase::testUntrustedUserPosting in ./captcha.test
CaptchaBaseWebTestCase::assertCaptchaResponseAccepted in ./captcha.test
Assert that the response is accepted: no "unknown CSID" message, no "CSID reuse attack detection" message, no "wrong answer" message.
CaptchaSessionReuseAttackTestCase::assertCaptchaSessionIdReuseAttackDetection in ./captcha.test
Assert that the CAPTCHA session ID reuse attack was detected.
CaptchaTestCase::assertCommentPosting in ./captcha.test
Assert function for testing if comment posting works as it should.
CaptchaTestCase::testCaptchaOnLoginForm in ./captcha.test
Testing the protection of the user log in form.

File

./captcha.test, line 19
Tests for CAPTCHA module.

Code

define('CAPTCHA_WRONG_RESPONSE_ERROR_MESSAGE', 'The answer you entered for the CAPTCHA was not correct.');