You are here

function TMGMTSharemessageIntegrationTestCase::setUp in Translation Management Tool 7

Overrides DrupalWebTestCase::setUp()

Overrides TMGMTBaseTestCase::setUp

File

ui/tmgmt_ui_job.test, line 22
Contains TMGMTSharemessageIntegrationTestCase.

Class

TMGMTSharemessageIntegrationTestCase
Tests integration with the sharemessage module.

Code

function setUp() {

  // Sharemessage is an entity that doesn't provide entity URLs, necessary for
  // testReviewForm().
  $modules = array(
    'tmgmt_ui',
    'tmgmt_entity_ui',
    'tmgmt_file',
    'image',
    'block',
    'sharemessage',
  );
  parent::setUp($modules);
  parent::createLanguagesLoginTranslator(array(
    'administer sharemessage entities',
    'view sharemessage entities',
    'administer entity translation',
    'translate any entity',
  ));
}