You are here

function TMGMTEntitySourcePathAutoTestCase::setUp in Translation Management Tool 7

Overrides DrupalWebTestCase::setUp()

Overrides TMGMTBaseTestCase::setUp

File

sources/entity/tmgmt_entity.pathauto.test, line 17

Class

TMGMTEntitySourcePathAutoTestCase
Tests integration with pathauto.

Code

function setUp() {
  parent::setUp(array(
    'tmgmt_entity',
    'entity_translation',
    'pathauto',
  ));
  $this
    ->loginAsAdmin();
  $this
    ->createNodeType('article', 'Article', ENTITY_TRANSLATION_ENABLED);
}