You are here

function TMGMTI18nStringSourceTestCase::setUp in Translation Management Tool 7

Overrides DrupalWebTestCase::setUp()

Overrides TMGMTBaseTestCase::setUp

File

sources/i18n_string/tmgmt_i18n_string.test, line 17

Class

TMGMTI18nStringSourceTestCase
Basic i18n String Source tests.

Code

function setUp() {
  parent::setUp(array(
    'tmgmt_ui',
    'tmgmt_i18n_string',
    'taxonomy',
    'i18n_taxonomy',
    'i18n_block',
    'i18n_field',
    'list',
    'i18n_menu',
  ));
  $this
    ->setEnvironment('de');
  $this->translator = $this
    ->createTranslator();
}