function ABTWebTestCase::postFieldSettings in Access By Term 7
1 call to ABTWebTestCase::postFieldSettings()
File
- ./
abt.test, line 122
Class
Code
function postFieldSettings($content_type, $field, $v, $u, $d) {
$this
->drupalPost('admin/structure/types/manage/' . $content_type . '/fields/' . $field['field_name'], array(
'abt_enable_view_control' => (int) $v,
'abt_enable_update_control' => (int) $u,
'abt_enable_delete_control' => (int) $d,
), 'Save settings');
$this
->assertText(t('Saved ' . $field['label'] . ' configuration.'));
}