You are here

public function ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPublicLanguage in Drupal 10

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

Tests an image style URL with the "public://" schema and language prefix.

File

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

Class

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

Namespace

Drupal\Tests\image\Functional

Code

public function testImageStyleUrlAndPathPublicLanguage() {
  $this
    ->doImageStyleUrlAndPathTests('public', TRUE, TRUE, 'fr');
}