Index: modules/field_ui/field_ui.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/field_ui/field_ui.test,v
retrieving revision 1.26
diff -u -p -r1.26 field_ui.test
--- modules/field_ui/field_ui.test	23 Oct 2010 15:55:04 -0000	1.26
+++ modules/field_ui/field_ui.test	26 Oct 2010 09:13:01 -0000
@@ -481,10 +481,19 @@ class FieldUIManageDisplayTestCase exten
       'fields[_add_new_field][field_name]' => 'field_test',
     );
     $this->fieldUIAddNewField('admin/structure/types/manage/' . $this->hyphen_type, $edit);
-    $value = rand(1, 100);
+    $body = array(
+      'value' => $this->randomName(32),
+      'format' => filter_default_format(),
+    );
+    // Ensure that the field value doesn't accidentally show up in the body as well.
+    do {
+      $value = rand(10000, 100000);
+    }
+    while (strpos($body['value'], $value) !== FALSE);
     $settings = array(
       'type' => $this->type,
       'field_test' => array(LANGUAGE_NONE => array(array('value' => $value))),
+      'body' => array(LANGUAGE_NONE => array($body)),
     );
     $node = $this->drupalCreateNode($settings);
 
