Index: modules/comment/comment.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.test,v
retrieving revision 1.63
diff -u -r1.63 comment.test
--- modules/comment/comment.test	11 Jan 2010 16:25:16 -0000	1.63
+++ modules/comment/comment.test	6 Feb 2010 15:15:26 -0000
@@ -412,7 +412,7 @@
 
     // 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 @@
     $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 @@
     // 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 @@
     // 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 @@
     // 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.
