1.20.x image.test ImageStylesPathAndUrlUnitTest::testImageStyleUrlAndPathPrivate()

Test image_style_url() with a file using the "private://" scheme.

File

modules/image/tests/image.test, line 148
Tests for image.module.

Class

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

Code

function testImageStyleUrlAndPathPrivate() {
  $this->_testImageStyleUrlAndPath('private');
}