protected function CaptchaPersistenceTestCase::assertPreservedCsid in CAPTCHA 7
Same name and namespace in other branches
- 6.2 captcha.test \CaptchaPersistenceTestCase::assertPreservedCsid()
4 calls to CaptchaPersistenceTestCase::assertPreservedCsid()
File
- ./
captcha.test, line 820 - Tests for CAPTCHA module.
Class
Code
protected function assertPreservedCsid($captcha_sid_initial) {
$captcha_sid = $this
->getCaptchaSidFromForm();
$this
->assertEqual($captcha_sid_initial, $captcha_sid, "CAPTCHA session ID should be preserved (expected: {$captcha_sid_initial}, found: {$captcha_sid}).");
}