diff options
-rw-r--r-- | modules/comment/comment.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/comment/comment.test b/modules/comment/comment.test index 6237ea5b3..bf6c68ea8 100644 --- a/modules/comment/comment.test +++ b/modules/comment/comment.test @@ -412,7 +412,7 @@ class CommentPreviewTest extends CommentHelperCase { // As admin user, configure comment settings. $this->drupalLogin($this->admin_user); - $this->setCommentPreview(TRUE); + $this->setCommentPreview(DRUPAL_OPTIONAL); $this->setCommentForm(TRUE); $this->setCommentSubject(TRUE); $this->setCommentSettings('comment_default_mode', COMMENT_MODE_THREADED, t('Comment paging changed.')); @@ -442,7 +442,7 @@ class CommentPreviewTest extends CommentHelperCase { $langcode = LANGUAGE_NONE; $web_user = $this->drupalCreateUser(array('access comments', 'post comments', 'post comments without approval')); $this->drupalLogin($this->admin_user); - $this->setCommentPreview(TRUE); + $this->setCommentPreview(DRUPAL_OPTIONAL); $this->setCommentForm(TRUE); $this->setCommentSubject(TRUE); $this->setCommentSettings('comment_default_mode', COMMENT_MODE_THREADED, t('Comment paging changed.')); @@ -607,7 +607,7 @@ class CommentPagerTest extends CommentHelperCase { // Set comment variables. $this->setCommentForm(TRUE); $this->setCommentSubject(TRUE); - $this->setCommentPreview(FALSE); + $this->setCommentPreview(DRUPAL_DISABLED); // Create a node and three comments. $node = $this->drupalCreateNode(array('type' => 'article', 'promote' => 1)); @@ -680,7 +680,7 @@ class CommentPagerTest extends CommentHelperCase { // Set comment variables. $this->setCommentForm(TRUE); $this->setCommentSubject(TRUE); - $this->setCommentPreview(FALSE); + $this->setCommentPreview(DRUPAL_DISABLED); // Display all the comments on the same page. $this->setCommentsPerPage(1000); @@ -780,7 +780,7 @@ class CommentPagerTest extends CommentHelperCase { // Set comment variables. $this->setCommentForm(TRUE); $this->setCommentSubject(TRUE); - $this->setCommentPreview(FALSE); + $this->setCommentPreview(DRUPAL_DISABLED); // Set comments to one per page so that we are able to test paging without // needing to insert large numbers of comments. |