setCommentPreview($mode) expects $mode as either DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED. However the following is used multiple times in comment.test:

    $this->setCommentPreview(TRUE);
CommentFileSizeAuthor
#1 comment-test.patch2.13 KBmr.baileys

Comments

mr.baileys’s picture

Status: Active » Needs review
StatusFileSize
new2.13 KB

Replaced setCommentPreview(FALSE) with setCommentPreview(DRUPAL_DISABLED) and setCommentPreview(TRUE) with setCommentPreview(DRUPAL_OPTIONAL).

scor’s picture

Status: Needs review » Reviewed & tested by the community

looks good

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.