You are here

public function ImageCaptchaWebTestCase::testNonEmptyImageDirtyURLs in CAPTCHA 7

Tests if the image URL actually returns an image with clean URLs disabled.

File

image_captcha/image_captcha.test, line 66
Tests for the Image CAPTCHA module.

Class

ImageCaptchaWebTestCase
@file Tests for the Image CAPTCHA module.

Code

public function testNonEmptyImageDirtyURLs() {
  variable_set('clean_url', 0);
  $this
    ->getImageCaptchaForm();
  $this
    ->assertNonEmptyImage();
}