public function ImageStylesPathAndUrlTest::testImageStyleUrlExtraSlash in Drupal 9
Same name and namespace in other branches
- 8 core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php \Drupal\Tests\image\Functional\ImageStylesPathAndUrlTest::testImageStyleUrlExtraSlash()
- 10 core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php \Drupal\Tests\image\Functional\ImageStylesPathAndUrlTest::testImageStyleUrlExtraSlash()
Tests an image style URL with a file URL that has an extra slash in it.
File
- core/
modules/ image/ tests/ src/ Functional/ ImageStylesPathAndUrlTest.php, line 118
Class
- ImageStylesPathAndUrlTest
- Tests the functions for generating paths and URLs for image styles.
Namespace
Drupal\Tests\image\FunctionalCode
public function testImageStyleUrlExtraSlash() {
$this
->doImageStyleUrlAndPathTests('public', TRUE, TRUE);
}