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 14:11:13 -0000 @@ -56,11 +56,15 @@ class CommentTestCase extends DrupalWebT // Create comment that requires preview. $this->drupalLogin($this->web_user); - $comment = $this->postComment($this->node, $this->randomName(), $this->randomName()); + $subject_text = $this->randomName(); + $comment_text = $this->randomName(); + $comment = $this->postComment($this->node, $subject_text, $comment_text); $this->assertTrue($this->commentExists($comment), t('Comment found.')); // Reply to comment. $this->drupalGet('comment/reply/' . $this->node->nid . '/' . $comment->id); + $this->assertText($subject_text, t('Individual comment subject found.')); + $this->assertText($comment_text, t('Individual comment body found.')); $reply = $this->postComment(NULL, $this->randomName(), $this->randomName()); $this->assertTrue($this->commentExists($reply, TRUE), t('Reply found.'));