You are here

protected function CaptchaPersistenceTestCase::assertDifferentCsid in CAPTCHA 7

Same name and namespace in other branches
  1. 6.2 captcha.test \CaptchaPersistenceTestCase::assertDifferentCsid()
3 calls to CaptchaPersistenceTestCase::assertDifferentCsid()
CaptchaPersistenceTestCase::testPersistenceOnlyOnce in ./captcha.test
CaptchaPersistenceTestCase::testPersistencePerFormInstance in ./captcha.test
CaptchaPersistenceTestCase::testPersistencePerFormType in ./captcha.test

File

./captcha.test, line 826
Tests for CAPTCHA module.

Class

CaptchaPersistenceTestCase

Code

protected function assertDifferentCsid($captcha_sid_initial) {
  $captcha_sid = $this
    ->getCaptchaSidFromForm();
  $this
    ->assertNotEqual($captcha_sid_initial, $captcha_sid, "CAPTCHA session ID should be different.");
}