summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/taxonomy/taxonomy.test')
-rw-r--r--modules/taxonomy/taxonomy.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test
index eca965fc4..5d809d16c 100644
--- a/modules/taxonomy/taxonomy.test
+++ b/modules/taxonomy/taxonomy.test
@@ -448,7 +448,7 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase {
function testTermInterface() {
$edit = array(
'name' => $this->randomName(12),
- 'description' => $this->randomName(100),
+ 'description[value]' => $this->randomName(100),
);
// Explicitly set the parents field to 'root', to ensure that
// taxonomy_form_term_submit() handles the invalid term ID correctly.
@@ -470,11 +470,11 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase {
$this->clickLink(t('edit'));
$this->assertText($edit['name'], t('The randomly generated term name is present.'));
- $this->assertText($edit['description'], t('The randomly generated term description is present.'));
+ $this->assertText($edit['description[value]'], t('The randomly generated term description is present.'));
$edit = array(
'name' => $this->randomName(14),
- 'description' => $this->randomName(102),
+ 'description[value]' => $this->randomName(102),
);
// Edit the term.
@@ -483,7 +483,7 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase {
// View the term and check that it is correct.
$this->drupalGet('taxonomy/term/' . $term->tid);
$this->assertText($edit['name'], t('The randomly generated term name is present.'));
- $this->assertText($edit['description'], t('The randomly generated term description is present.'));
+ $this->assertText($edit['description[value]'], t('The randomly generated term description is present.'));
// Check that term feed page is working
$this->drupalGet('taxonomy/term/' . $term->tid . '/feed');