function TMGMTFieldCollectionSourceTestCase::setUp in Translation Management Tool 7
Overrides DrupalWebTestCase::setUp()
Overrides TMGMTBaseTestCase::setUp
File
- sources/
field/ tmgmt_field_collection.test, line 18
Class
- TMGMTFieldCollectionSourceTestCase
- Basic Field Collection Source tests.
Code
function setUp() {
parent::setUp(array(
'tmgmt_node',
'tmgmt_field',
'translation',
'field_collection',
));
$this
->loginAsAdmin();
$this
->setEnvironment('de');
$this
->createNodeType('page', 'Basic page', TRANSLATION_ENABLED, FALSE);
$this
->createFieldCollectionInstance();
}