diff --git a/modules/field_ui/field_ui.test b/modules/field_ui/field_ui.test index f1102488c5364b7db93d9da6745ba0a07748b816..e67fc2bb75db8675aebc136ac6a155180a150159 100644 --- a/modules/field_ui/field_ui.test +++ b/modules/field_ui/field_ui.test @@ -481,7 +481,10 @@ class FieldUIManageDisplayTestCase extends FieldUITestCase { 'fields[_add_new_field][field_name]' => 'field_test', ); $this->fieldUIAddNewField('admin/structure/types/manage/' . $this->hyphen_type, $edit); - $value = rand(1, 100); + // For this test, use a formatter setting value that is an integer unlikely + // to appear in a rendered node other than as part of the field being tested + // (for example, unlikely to be part of the "Submitted by ... on ..." line). + $value = 12345; $settings = array( 'type' => $this->type, 'field_test' => array(LANGUAGE_NONE => array(array('value' => $value))),