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