You are here

public function ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPublic in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php \Drupal\Tests\image\Functional\ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPublic()
  2. 10 core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php \Drupal\Tests\image\Functional\ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPublic()

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

File

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

Class

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

Namespace

Drupal\Tests\image\Functional

Code

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