diff --git a/core/modules/node/lib/Drupal/node/Tests/SummaryLengthTest.php b/core/modules/node/lib/Drupal/node/Tests/SummaryLengthTest.php index a115cc2..9936454 100644 --- a/core/modules/node/lib/Drupal/node/Tests/SummaryLengthTest.php +++ b/core/modules/node/lib/Drupal/node/Tests/SummaryLengthTest.php @@ -35,7 +35,7 @@ function testSummaryLength() { $web_user = $this->drupalCreateUser(array('access content', 'administer content types')); $this->loggedInUser = $web_user; - // Attempt to access the front page. + // Render the node as teaser. $content = entity_render_controller('node')->view($node, 'teaser'); $this->drupalSetContent(drupal_render($content)); // The node teaser when it has 600 characters in length @@ -47,8 +47,8 @@ function testSummaryLength() { $instance['display']['teaser']['settings']['trim_length'] = 200; field_update_instance($instance); - // Attempt to access the front page again and check if the summary is now - // only 200 characters in length. + // Render the node as teaser again and check if the summary is now only 200 + // characters in length. $content = entity_render_controller('node')->view($node, 'teaser'); $this->drupalSetContent(drupal_render($content)); $this->assertText($node->label());