function TMGMTNodeSourceTestCase::setUp in Translation Management Tool 7
Overrides DrupalWebTestCase::setUp()
Overrides TMGMTBaseTestCase::setUp
File
- sources/
node/ tmgmt_node.test, line 17
Class
- TMGMTNodeSourceTestCase
- Basic Node Source tests.
Code
function setUp() {
parent::setUp(array(
'tmgmt_node',
'translation',
));
$this
->loginAsAdmin();
$this
->setEnvironment('de');
$this
->createNodeType('page', 'Basic page', TRANSLATION_ENABLED, FALSE);
$this
->attachFields('node', 'page', array(
TRUE,
TRUE,
FALSE,
FALSE,
));
}