public function WebformDefaultFieldsTestCase::setUp in Webform Default Fields 7.4
Same name and namespace in other branches
- 6 tests/webform_default_fields.test \WebformDefaultFieldsTestCase::setUp()
- 7 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 29 - Webform Default Fields module tests.
Class
- WebformDefaultFieldsTestCase
- Tests the module functionality.
Code
public 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');
}