You are here

public function ConfigurationImportTestCase::setUp in Configuration Management 7.2

Implementation of DrupalWebTestCase::setUp().

Overrides ConfigurationWebTestCase::setUp

File

tests/configuration.test, line 201
Tests for Configuration Management

Class

ConfigurationImportTestCase
Base class for functional tests for configuration management.

Code

public function setUp($modules = array()) {
  global $base_url;
  if (empty($modules)) {
    parent::setUp(array(
      'configuration',
      'image',
      'taxonomy',
      'menu',
      'comment',
    ));
  }
  else {
    parent::setUp($modules);
  }
  $this->configurations = array(
    'variable.node_options_article',
    'variable.node_preview_article',
    'variable.node_submitted_article',
    'variable.comment_default_per_page_article',
    'variable.comment_form_location_article',
    'variable.comment_preview_article',
    'variable.comment_subject_field_article',
    'content_type.article',
    'field.node.body.article',
    'vocabulary.tags',
    'field.node.field_tags.article',
    'image_style.large',
    'image_style.medium',
    'field.node.field_image.article',
    'permission.create_article_content',
    'permission.edit_own_article_content',
    'permission.edit_any_article_content',
    'permission.delete_own_article_content',
    'permission.delete_any_article_content',
  );
}