You are here

constant DRUPAL_OPTIONAL in BOTCHA Spam Prevention 6

2 uses of DRUPAL_OPTIONAL
BotchaTestCase::assertCommentPosting in ./botcha.test
Assert function for testing if comment posting works as it should.
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 9
Tests for BOTCHA module.

Code

define('DRUPAL_OPTIONAL', 0);