Issue #1462062 by chertzog, xjm: Fix language in code comment

8.0.x
Jennifer Hodgdon 2012-03-05 15:30:20 -08:00
parent 0af687dd8a
commit 863fed6b3e
1 changed files with 4 additions and 2 deletions

View File

@ -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));