summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-03-05 15:31:05 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-03-05 15:31:05 -0800
commitdfacba7ffb98e948fa7422291b8ff714865a1a01 (patch)
tree32cf7eb7d6dd0618af11bd51503d4d3205907864
parent0e866d2087ef24dbb6fb7b5481b1314b0e85be83 (diff)
downloadbrdo-dfacba7ffb98e948fa7422291b8ff714865a1a01.tar.gz
brdo-dfacba7ffb98e948fa7422291b8ff714865a1a01.tar.bz2
Issue #1462062 by chertzog, xjm: Fix language in code comment
-rw-r--r--modules/contextual/contextual.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/contextual/contextual.test b/modules/contextual/contextual.test
index a1b94cc08..79eedb86f 100644
--- a/modules/contextual/contextual.test
+++ b/modules/contextual/contextual.test
@@ -31,8 +31,10 @@ class ContextualDynamicContextTestCase extends DrupalWebTestCase {
* Tests contextual links on node lists with different permissions.
*/
function testNodeLinks() {
- // Promote nodes to the front page. One article node the user can edit, one
- // page node he can not edit and another article node he can edit.
+ // Create three nodes in the following order:
+ // - An article, which should be user-editable.
+ // - A page, which should not be user-editable.
+ // - A second article, which should also be user-editable.
$node1 = $this->drupalCreateNode(array('type' => 'article', 'promote' => 1));
$node2 = $this->drupalCreateNode(array('type' => 'page', 'promote' => 1));
$node3 = $this->drupalCreateNode(array('type' => 'article', 'promote' => 1));