You are here

function ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPublic 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::testImageStyleUrlAndPathPublic()

Tests an image style URL using the "public://" scheme.

File

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

Class

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

Namespace

Drupal\image\Tests

Code

function testImageStyleUrlAndPathPublic() {
  $this
    ->doImageStyleUrlAndPathTests('public');
}