You are here

public function BotchaBaseWebTestCase::getExpectations in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.2 botcha.test \BotchaBaseWebTestCase::getExpectations()
  2. 6.3 tests/botcha.simpletest.test \BotchaBaseWebTestCase::getExpectations()
  3. 7.2 botcha.test \BotchaBaseWebTestCase::getExpectations()

Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?

1 call to BotchaBaseWebTestCase::getExpectations()
BotchaTestCase::testFormSubmission in tests/botcha.simpletest.test
5 methods override BotchaBaseWebTestCase::getExpectations()
BotchaHoneypot2TestCase::getExpectations in tests/botcha.simpletest.test
Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?
BotchaHoneypotTestCase::getExpectations in tests/botcha.simpletest.test
Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?
BotchaNoResubmitTestCase::getExpectations in tests/botcha.simpletest.test
Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?
BotchaObscureUrlTestCase::getExpectations in tests/botcha.simpletest.test
Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?
BotchaTimegateTestCase::getExpectations in tests/botcha.simpletest.test
Get an array of our expectations to cycle through: should we test that this form fails or successfully submitted or both?

File

tests/botcha.simpletest.test, line 235
Simpletest-tests for BOTCHA module.

Class

BotchaBaseWebTestCase
Base class for BOTCHA tests.

Code

public function getExpectations() {
  return array(
    TRUE,
  );
}