function ImageStylesPathAndUrlTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/image/image.test, line 143

Class

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

Code

function setUp() {
    parent::setUp('image_module_test');
    $this->style_name = 'style_foo';
    image_style_save(array(
        'name' => $this->style_name,
        'label' => $this->randomString(),
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.