You are here

public function ImageCaptchaWebTestCase::testNonEmptyImageCleanURLs in CAPTCHA 7

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

File

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

Class

ImageCaptchaWebTestCase
@file Tests for the Image CAPTCHA module.

Code

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