From b6c0d1ab208af3cd16316324f54d2e10875b5286 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 29 Jun 2010 00:57:19 +0000 Subject: - Patch #831914 by Dave Reid: removed redundant/duplicate [node:uid], [comment:uid], and [file:uid] tokens. --- modules/node/node.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.test') diff --git a/modules/node/node.test b/modules/node/node.test index 629509c7a..7369b8699 100644 --- a/modules/node/node.test +++ b/modules/node/node.test @@ -1730,7 +1730,6 @@ class NodeTokenReplaceTestCase extends DrupalWebTestCase { $tests['[node:nid]'] = $node->nid; $tests['[node:vid]'] = $node->vid; $tests['[node:tnid]'] = $node->tnid; - $tests['[node:uid]'] = $node->uid; $tests['[node:type]'] = 'article'; $tests['[node:type-name]'] = 'Article'; $tests['[node:title]'] = check_plain($node->title); @@ -1739,6 +1738,7 @@ class NodeTokenReplaceTestCase extends DrupalWebTestCase { $tests['[node:language]'] = check_plain($node->language); $tests['[node:url]'] = url('node/' . $node->nid, $url_options); $tests['[node:edit-url]'] = url('node/' . $node->nid . '/edit', $url_options); + $tests['[node:author:uid]'] = $node->uid; $tests['[node:author:name]'] = check_plain($account->name); $tests['[node:created:since]'] = format_interval(REQUEST_TIME - $node->created, 2, $language->language); $tests['[node:changed:since]'] = format_interval(REQUEST_TIME - $node->changed, 2, $language->language); -- cgit v1.2.3