Issue #2080573 by Haza: Remove Unused local variable $replies from /core/modules/comment/lib/Drupal/comment/Tests/CommentPagerTest.php.
parent
0eca8b3725
commit
624cb17559
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue