Commit 624cb175 authored by catch's avatar catch
Browse files

Issue #2080573 by Haza: Remove Unused local variable $replies from...

Issue #2080573 by Haza: Remove Unused local variable $replies from /core/modules/comment/lib/Drupal/comment/Tests/CommentPagerTest.php.
parent 0eca8b37
...@@ -64,7 +64,6 @@ function testCommentPaging() { ...@@ -64,7 +64,6 @@ function testCommentPaging() {
$this->assertFalse($this->commentExists($comments[1]), 'Comment 2 does not appear on page 3.'); $this->assertFalse($this->commentExists($comments[1]), 'Comment 2 does not appear on page 3.');
// Post a reply to the oldest comment and test again. // Post a reply to the oldest comment and test again.
$replies = array();
$oldest_comment = reset($comments); $oldest_comment = reset($comments);
$this->drupalGet('comment/reply/' . $node->id() . '/' . $oldest_comment->id()); $this->drupalGet('comment/reply/' . $node->id() . '/' . $oldest_comment->id());
$reply = $this->postComment(NULL, $this->randomName(), $this->randomName(), TRUE); $reply = $this->postComment(NULL, $this->randomName(), $this->randomName(), TRUE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment