You are here

function ImageStylesPathAndUrlTestCase::testImageStyleUrlExtraSlash in Drupal 7

Test image_style_url() with a file URL that has an extra slash in it.

File

modules/image/image.test, line 190
Tests for image.module.

Class

ImageStylesPathAndUrlTestCase
Tests the functions for generating paths and URLs for image styles.

Code

function testImageStyleUrlExtraSlash() {
  $this
    ->_testImageStyleUrlAndPath('public', TRUE, TRUE);
}