You are here

constant BOTCHA_WRONG_RESPONSE_ERROR_MESSAGE in BOTCHA Spam Prevention 7

Same name and namespace in other branches
  1. 6 botcha.test \BOTCHA_WRONG_RESPONSE_ERROR_MESSAGE
  2. 6.2 botcha.test \BOTCHA_WRONG_RESPONSE_ERROR_MESSAGE
  3. 6.3 botcha.module \BOTCHA_WRONG_RESPONSE_ERROR_MESSAGE
  4. 7.2 botcha.test \BOTCHA_WRONG_RESPONSE_ERROR_MESSAGE
  5. 7.3 botcha.module \BOTCHA_WRONG_RESPONSE_ERROR_MESSAGE
4 uses of BOTCHA_WRONG_RESPONSE_ERROR_MESSAGE
BotchaAdminTestCase::testUntrustedUserPosting in ./botcha.test
BotchaTestCase::assertCommentPosting in ./botcha.test
Assert function for testing if comment posting works as it should.
BotchaTestCase::testBotchaOnLoginForm in ./botcha.test
Testing the protection of the user log in form.
BotchaTestCase::testBotchaResubmit in ./botcha.test
Test if BOTCHA is applied correctly when failing first and then resubmitting comments: comment form should have BOTCHA again and pass correct submission. (We use to fail BOTCHA as it is impossible to fail comment form on its own)

File

./botcha.test, line 20
Tests for BOTCHA module.

Code

define('BOTCHA_WRONG_RESPONSE_ERROR_MESSAGE', 'You must be a human, not a spam bot, to submit forms on this website.');