You are here

public function BotchaNoResubmitTestCase::getExpectations in BOTCHA Spam Prevention 7.3

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

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

Overrides BotchaBaseWebTestCase::getExpectations

File

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

Class

BotchaNoResubmitTestCase

Code

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