summaryrefslogtreecommitdiff
path: root/modules/field_ui/field_ui.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field_ui/field_ui.test')
-rw-r--r--modules/field_ui/field_ui.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/field_ui/field_ui.test b/modules/field_ui/field_ui.test
index 4a82c7a2e..5baaa341a 100644
--- a/modules/field_ui/field_ui.test
+++ b/modules/field_ui/field_ui.test
@@ -34,7 +34,8 @@ class FieldUITestCase extends DrupalWebTestCase {
// Create random field name.
$this->field_label = $this->randomName(8);
- $this->field_name = 'field_' . strtolower($this->randomName(8));
+ $this->field_name_input = strtolower($this->randomName(8));
+ $this->field_name = 'field_'. $this->field_name_input;
}
/**
@@ -85,7 +86,7 @@ class FieldUITestCase extends DrupalWebTestCase {
// Create a test field.
$edit = array(
'_add_new_field[label]' => $this->field_label,
- '_add_new_field[field_name]' => $this->field_name,
+ '_add_new_field[field_name]' => $this->field_name_input,
);
$this->fieldUIAddNewField('admin/structure/types/manage/' . $this->hyphen_type, $edit);