1 image.test | public ImageFieldDisplayTestCase::testImageFieldFormattersPrivate() |
Test image formatters on node display for private files.
File
- core/
modules/ image/ tests/ image.test, line 768 - Tests for image.module.
Class
- ImageFieldDisplayTestCase
- Test class to check that formatters and display settings are working.
Code
public function testImageFieldFormattersPrivate() {
// Remove access content permission from anonymous users.
user_role_change_permissions(BACKDROP_ANONYMOUS_ROLE, array('access content' => FALSE));
$this->_testImageFieldFormatters('private');
}