function CCKSelectOtherNotRequiredTest::setUp in CCK Select Other 7
Same name and namespace in other branches
- 7.2 tests/cck_select_other.test \CCKSelectOtherNotRequiredTest::setUp()
Implementation of setUp() method
Overrides CCKSelectOtherTest::setUp
File
- tests/
cck_select_other.test, line 535 - test file for cck_select_other Testing file
Class
- CCKSelectOtherNotRequiredTest
- @class CCKSelectOtherNotRequiredTest
Code
function setUp() {
parent::setUp();
$this->test_instance['required'] = FALSE;
field_update_instance($this->test_instance);
$this->test_instance = field_info_instance('node', $this->test_field['field_name'], $this->test_node->type);
}