protected function RequiredByRoleDateFieldWebTestCase::setUp in Required by role 7
Setup method.
Overrides RequiredByRoleBasic::setUp
File
- tests/
required_by_role_test/ RequiredByRoleDateFieldWebTestCase.test, line 23 - Tests for the Email field.
Class
- RequiredByRoleDateFieldWebTestCase
- @file Tests for the Email field.
Code
protected function setUp() {
// Load the date_api module.
parent::setUp('field', 'field_ui', 'date_api', 'date', 'date_popup', 'date_tools', 'required_by_role', 'required_by_role_test');
variable_set('date_popup_timepicker', 'none');
module_load_include('inc', 'node', 'content_types');
module_load_include('inc', 'date', 'date_admin');
}