summaryrefslogtreecommitdiff
path: root/modules/field_ui/field_ui.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-25 11:53:25 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-25 11:53:25 +0000
commitcca8e7e5acf71bc1462ef9197858a1629e96e6a3 (patch)
tree2e7b9e1cceb586d9d49c13ea89d211ab43a4894a /modules/field_ui/field_ui.test
parentcfe7f8e69f9156284e1daf57921d89de256abda2 (diff)
downloadbrdo-cca8e7e5acf71bc1462ef9197858a1629e96e6a3.tar.gz
brdo-cca8e7e5acf71bc1462ef9197858a1629e96e6a3.tar.bz2
- Patch #744258 by sun: admin/structure/taxonomy paths have to use machine_name(), not vid.
Diffstat (limited to 'modules/field_ui/field_ui.test')
-rw-r--r--modules/field_ui/field_ui.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/field_ui/field_ui.test b/modules/field_ui/field_ui.test
index 67a602a34..510a09356 100644
--- a/modules/field_ui/field_ui.test
+++ b/modules/field_ui/field_ui.test
@@ -92,7 +92,8 @@ class FieldUITestCase extends DrupalWebTestCase {
// Assert the field appears in the "add existing field" section for
// different entity types; e.g. if a field was added in a node entity, it
// should also appear in the 'taxonomy term' entity.
- $this->drupalGet('admin/structure/taxonomy/1/fields');
+ $vocabulary = taxonomy_vocabulary_load(1);
+ $this->drupalGet('admin/structure/taxonomy/' . $vocabulary->machine_name . '/fields');
$this->assertTrue($this->xpath('//select[@id="edit--add-existing-field-field-name"]//option[@value="' . $this->field_name . '"]'), t('Existing field was found in account settings.'));
}