summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-11-18 18:58:01 +0000
committerDries Buytaert <dries@buytaert.net>2009-11-18 18:58:01 +0000
commitffdcefa710bef7e9dc616f3f6018ec296d8d2755 (patch)
tree1353053aa614ed261e9ff580b0242a58007d6b18 /modules
parent4788bf25fac2386002210c197eed782497936473 (diff)
downloadbrdo-ffdcefa710bef7e9dc616f3f6018ec296d8d2755.tar.gz
brdo-ffdcefa710bef7e9dc616f3f6018ec296d8d2755.tar.bz2
- Patch #632888 by bleen18: fixed warning about missing taxonomy.feeds.inc.
Diffstat (limited to 'modules')
-rw-r--r--modules/taxonomy/taxonomy.module2
-rw-r--r--modules/taxonomy/taxonomy.test4
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 5de8aa538..9dd87fbd7 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 9b61ad79e..c3343e284 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'));