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