From f96c141f5aa99ed414eba4e0a520e5b4d9f91b76 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 22 Jun 2009 09:10:07 +0000 Subject: - Patch #409750 by yched et al: overhaul and extend node build modes. --- modules/node/node.test | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/node/node.test') diff --git a/modules/node/node.test b/modules/node/node.test index 152a1353b..246f9b2c4 100644 --- a/modules/node/node.test +++ b/modules/node/node.test @@ -519,11 +519,11 @@ class NodeRSSContentTestCase extends DrupalWebTestCase { $this->drupalGet('rss.xml'); - // Check that content added in NODE_BUILD_RSS appear in RSS feed. + // Check that content added in 'rss' build mode appear in RSS feed. $rss_only_content = t('Extra data that should appear only in the RSS feed for node !nid.', array('!nid' => $node->nid)); $this->assertText($rss_only_content, t('Node content designated for RSS appear in RSS feed.')); - // Check that content added in build modes other than NODE_BUILD_RSS doesn't + // Check that content added in build modes other than 'rss' doesn't // appear in RSS feed. $non_rss_content = t('Extra data that should appear everywhere except the RSS feed for node !nid.', array('!nid' => $node->nid)); $this->assertNoText($non_rss_content, t('Node content not designed for RSS doesn\'t appear in RSS feed.')); @@ -537,7 +537,8 @@ class NodeRSSContentTestCase extends DrupalWebTestCase { $this->assertRaw(format_xml_elements(array($test_element)), t('Extra RSS elements appear in RSS feed.')); $this->assertRaw($test_ns, t('Extra namespaces appear in RSS feed.')); - // Check that content added in NODE_BUILD_RSS doesn't appear when viewing node. + // Check that content added in 'rss' build mode doesn't appear when + // viewing node. $this->drupalGet("node/$node->nid"); $this->assertNoText($rss_only_content, t('Node content designed for RSS doesn\'t appear when viewing node.')); } -- cgit v1.2.3