You are here

function CCKSelectOtherNotRequiredTest::setUp in CCK Select Other 7.2

Same name and namespace in other branches
  1. 7 tests/cck_select_other.test \CCKSelectOtherNotRequiredTest::setUp()

Implementation of setUp() method

Overrides CCKSelectOtherTest::setUp

File

tests/cck_select_other.test, line 530
CCK Select Other Functional Tests

Class

CCKSelectOtherNotRequiredTest
Assert that select other list is not saving any values if -none- is selected

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);
}