function WebformDefaultFieldsTestCase::setUp in Webform Default Fields 7
Same name and namespace in other branches
- 6 tests/webform_default_fields.test \WebformDefaultFieldsTestCase::setUp()
- 7.4 tests/webform_default_fields.test \WebformDefaultFieldsTestCase::setUp()
- 7.3 tests/webform_default_fields.test \WebformDefaultFieldsTestCase::setUp()
Implements setUp().
Overrides DrupalWebTestCase::setUp
File
- tests/
webform_default_fields.test, line 27 - Webform Default Fields module tests.
Class
- WebformDefaultFieldsTestCase
- @file Webform Default Fields module tests.
Code
function setUp() {
// Enable Webform Default Fields.
parent::setUp('webform_default_fields', 'webform');
module_enable(array(
'webform_default_fields',
'webform',
));
module_load_include('inc', 'webform', 'includes/webform.components');
}