diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-11 17:44:47 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-11 17:44:47 +0000 |
commit | 7562a8efb36306e96bf4d13b1f97b4573809ab45 (patch) | |
tree | 998dfd1d27d9c1a691a83a0c0e37d783d4fc4a44 /modules/field_ui/field_ui.test | |
parent | 52195a6b1dd478875a93935df27d7bcacb14f289 (diff) | |
download | brdo-7562a8efb36306e96bf4d13b1f97b4573809ab45.tar.gz brdo-7562a8efb36306e96bf4d13b1f97b4573809ab45.tar.bz2 |
#707724 by chx: Rename confusing arguments in field/entity APIs.
Diffstat (limited to 'modules/field_ui/field_ui.test')
-rw-r--r-- | modules/field_ui/field_ui.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/field_ui/field_ui.test b/modules/field_ui/field_ui.test index e3f030782..624ddd3e5 100644 --- a/modules/field_ui/field_ui.test +++ b/modules/field_ui/field_ui.test @@ -205,10 +205,10 @@ class FieldUITestCase extends DrupalWebTestCase { * The field name for the instance. * @param $string * The settings text. - * @param $obj_type + * @param $entity_type * The object type for the instance. */ - function assertFieldSettings($bundle, $field_name, $string = 'dummy test string', $obj_type = 'node') { + function assertFieldSettings($bundle, $field_name, $string = 'dummy test string', $entity_type = 'node') { // Reset the fields info. _field_info_collate_fields(TRUE); // Assert field settings. @@ -216,7 +216,7 @@ class FieldUITestCase extends DrupalWebTestCase { $this->assertTrue($field['settings']['test_field_setting'] == $string, t('Field settings were found.')); // Assert instance and widget settings. - $instance = field_info_instance($obj_type, $field_name, $bundle); + $instance = field_info_instance($entity_type, $field_name, $bundle); $this->assertTrue($instance['settings']['test_instance_setting'] == $string, t('Field instance settings were found.')); $this->assertTrue($instance['widget']['settings']['test_widget_setting'] == $string, t('Field widget settings were found.')); } |