You are here

function ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPrivateUnclean in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/image/src/Tests/ImageStylesPathAndUrlTest.php \Drupal\image\Tests\ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPrivateUnclean()

Tests an image style URL with the "private://" schema and unclean URLs.

File

core/modules/image/src/Tests/ImageStylesPathAndUrlTest.php, line 76
Contains \Drupal\image\Tests\ImageStylesPathAndUrlTest.

Class

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

Namespace

Drupal\image\Tests

Code

function testImageStyleUrlAndPathPrivateUnclean() {
  $this
    ->doImageStyleUrlAndPathTests('private', FALSE);
}