function ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPublicUnclean

Same name in other branches
  1. 9 core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php \Drupal\Tests\image\Functional\ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPublicUnclean()
  2. 8.9.x core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php \Drupal\Tests\image\Functional\ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPublicUnclean()
  3. 10 core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php \Drupal\Tests\image\Functional\ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPublicUnclean()

Tests an image style URL with the "public://" scheme and unclean URLs.

File

core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php, line 91

Class

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

Namespace

Drupal\Tests\image\Functional

Code

public function testImageStyleUrlAndPathPublicUnclean() : void {
    $this->doImageStyleUrlAndPathTests('public', FALSE);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.