You are here

public function ImageLinkFormatterFieldUITestCase::setUp in Image Link Formatter 7

Enable modules and create user with specific permissions.

Overrides ImageLinkFormatterTestCase::setUp

File

./image_link_formatter.test, line 280
Test the Image Link Formatter module.

Class

ImageLinkFormatterFieldUITestCase
Test Image Link Formatter's form and summary on the Manage display pages.

Code

public function setUp() {

  // Add permission required to access Field UI and administration pages.
  // The test user needs to access the Manage display pages.
  $this->permissions[] = 'administer content types';

  // Include the Field UI module and its dependencies to be loaded.
  parent::setUp('field_ui');
}