diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-12 05:38:10 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-12 05:38:10 +0000 |
commit | 3756cdd8c1a7ff2d14944fc4c4cb60346fa7f9e1 (patch) | |
tree | bfb1d8c87fde1249676913d040839d8c538c2e16 /modules/field_ui/field_ui.test | |
parent | 7562a8efb36306e96bf4d13b1f97b4573809ab45 (diff) | |
download | brdo-3756cdd8c1a7ff2d14944fc4c4cb60346fa7f9e1.tar.gz brdo-3756cdd8c1a7ff2d14944fc4c4cb60346fa7f9e1.tar.bz2 |
#707724 follow-up by yched: More Field API/Entity API terminology clean-up.
Diffstat (limited to 'modules/field_ui/field_ui.test')
-rw-r--r-- | modules/field_ui/field_ui.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/field_ui/field_ui.test b/modules/field_ui/field_ui.test index 624ddd3e5..01064652f 100644 --- a/modules/field_ui/field_ui.test +++ b/modules/field_ui/field_ui.test @@ -146,10 +146,10 @@ class FieldUITestCase extends DrupalWebTestCase { $this->drupalGet(('admin/structure/types/manage/page/fields')); $this->assertRaw(t('Add existing field'), t('"Add existing field" was found.')); - // Check that the list of options respects object type restrictions on - // fields. The 'comment' field is restricted to the 'comment' object type + // Check that the list of options respects entity type restrictions on + // fields. The 'comment' field is restricted to the 'comment' entity type // and should not appear in the list. - $this->assertFalse($this->xpath('//select[@id="edit--add-existing-field-field-name"]//option[@value="comment"]'), t('The list of options respects object type restrictions.')); + $this->assertFalse($this->xpath('//select[@id="edit--add-existing-field-field-name"]//option[@value="comment"]'), t('The list of options respects entity type restrictions.')); // Add a new field based on an existing field. $edit = array( @@ -206,7 +206,7 @@ class FieldUITestCase extends DrupalWebTestCase { * @param $string * The settings text. * @param $entity_type - * The object type for the instance. + * The entity type for the instance. */ function assertFieldSettings($bundle, $field_name, $string = 'dummy test string', $entity_type = 'node') { // Reset the fields info. |