Issue #2080573 by Haza: Remove Unused local variable $replies from /core/modules/comment/lib/Drupal/comment/Tests/CommentPagerTest.php.

8.0.x
Nathaniel Catchpole 2013-09-16 12:13:48 +01:00
parent 0eca8b3725
commit 624cb17559
1 changed files with 0 additions and 1 deletions

View File

@ -64,7 +64,6 @@ class CommentPagerTest extends CommentTestBase {
$this->assertFalse($this->commentExists($comments[1]), 'Comment 2 does not appear on page 3.');
// Post a reply to the oldest comment and test again.
$replies = array();
$oldest_comment = reset($comments);
$this->drupalGet('comment/reply/' . $node->id() . '/' . $oldest_comment->id());
$reply = $this->postComment(NULL, $this->randomName(), $this->randomName(), TRUE);