You are here

protected function BotchaNoResubmitTestCase::assertBotchaPresence in BOTCHA Spam Prevention 6.2

Same name and namespace in other branches
  1. 6.3 tests/botcha.simpletest.test \BotchaNoResubmitTestCase::assertBotchaPresence()
  2. 7.2 botcha.test \BotchaNoResubmitTestCase::assertBotchaPresence()
  3. 7.3 tests/botcha.simpletest.test \BotchaNoResubmitTestCase::assertBotchaPresence()

Assert that there is a BOTCHA on the form or not.

Parameters

bool $presence whether there should be a BOTCHA or not.:

Overrides BotchaBaseWebTestCase::assertBotchaPresence

File

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

Class

BotchaNoResubmitTestCase

Code

protected function assertBotchaPresence($presence) {

  // We couldn't understand whether this form implement no-resubmit protection
  // or not by its appearance - so always pass this check.
  return TRUE;
}