protected function BotchaNoResubmitTestCase::assertBotchaPresence in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 6.3 tests/botcha.simpletest.test \BotchaNoResubmitTestCase::assertBotchaPresence()
- 7.2 botcha.test \BotchaNoResubmitTestCase::assertBotchaPresence()
- 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
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;
}