You are here

protected property CCKSelectOtherTest::$new_field in CCK Select Other 6

File

tests/cck_select_other.test, line 22
test file for cck_select_other Testing file

Class

CCKSelectOtherTest
SimpleTest class for cck_select_other

Code

protected $new_field = array(
  'field_name' => 'field_blah',
  'type_name' => 'page',
  'display_settings' => array(
    'label' => array(
      'format' => 'above',
      'exclude' => '0',
    ),
    'teaser' => array(
      'format' => 'default',
    ),
    'full' => array(
      'format' => 'default',
    ),
    4 => array(
      'format' => 'default',
    ),
  ),
  'widget_active' => '1',
  'widget_module' => 'cck_select_other',
  'type' => 'text',
  'required' => '0',
  'multiple' => '0',
  'db_storage' => '1',
  'module' => 'text',
  'active' => '1',
  'locked' => '0',
  'columns' => array(
    'value' => array(
      'type' => 'text',
      'size' => 'big',
      'not null' => FALSE,
      'sortable' => TRUE,
      'views' => TRUE,
    ),
  ),
  'text_processing' => '0',
  'max_length' => '',
  'allowed_values' => '',
  'allowed_values_php' => '',
  'widget' => array(
    'select_list_options' => '',
    'select_list_options_php' => '',
    'select_list_grow' => 0,
    'default_value_php' => NULL,
    'label' => 'Blah',
    'weight' => NULL,
    'description' => 'SimpleTest generated field.',
    'type' => 'cck_select_other',
    'module' => 'cck_select_other',
  ),
);