diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 5de8aa538188f823eaff044c565bb0989bd1a6c2..9dd87fbd7ece7664f671206c3c6a7aef2aa334bd 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -220,7 +220,7 @@ function taxonomy_menu() { 'page arguments' => array(2), 'access arguments' => array('access content'), 'type' => MENU_CALLBACK, - 'file' => 'taxonomy.feeds.inc', + 'file' => 'taxonomy.pages.inc', ); $items['taxonomy/autocomplete'] = array( 'title' => 'Autocomplete taxonomy', diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index 9b61ad79e0095761babbb76698bf15f795fd5ccf..c3343e28484c234ac23949cb782a2cefc10275e7 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -452,7 +452,6 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase { // the first edit link found on the listing page is to our term. $this->clickLink(t('edit')); - // This failed inexplicably with assertText, so used assertRaw. @TODO: Why? $this->assertText($edit['name'], t('The randomly generated term name is present.')); $this->assertText($edit['description'], t('The randomly generated term description is present.')); @@ -469,6 +468,9 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase { $this->assertText($edit['name'], t('The randomly generated term name is present.')); $this->assertText($edit['description'], t('The randomly generated term description is present.')); + // Check that term feed page is working + $this->drupalGet('taxonomy/term/' . $term->tid . '/feed'); + // Delete the term. $this->drupalPost('taxonomy/term/' . $term->tid . '/edit', array(), t('Delete')); $this->drupalPost(NULL, NULL, t('Delete'));