Index: modules/comment/comment.test =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.test,v retrieving revision 1.10 diff -u -p -r1.10 comment.test --- modules/comment/comment.test 3 Jul 2008 17:57:03 -0000 1.10 +++ modules/comment/comment.test 31 Aug 2008 10:36:25 -0000 @@ -63,6 +63,9 @@ class CommentTestCase extends DrupalWebT $this->drupalGet('comment/reply/' . $this->node->nid . '/' . $comment->id); $reply = $this->postComment(NULL, $this->randomName(), $this->randomName()); $this->assertTrue($this->commentExists($reply, TRUE), t('Reply found.')); + // pid is set correctly + $reply_loaded = comment_load($reply->id); + $this->assertEqual($comment->id, $reply_loaded->pid, t('pid of a reply to a comment is set correctly.')); // Edit reply. $this->drupalGet('comment/edit/' . $reply->id);