Index: modules/comment/comment.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.test,v
retrieving revision 1.12
diff -u -p -r1.12 comment.test
--- modules/comment/comment.test	9 Sep 2008 00:29:24 -0000	1.12
+++ modules/comment/comment.test	10 Sep 2008 20:48:15 -0000
@@ -455,6 +455,12 @@ class CommentApprovalTest extends Commen
     $this->drupalLogin($this->admin_user);
     $anonymous_comment4 = $this->getUnapprovedComment($subject);
     $anonymous_comment4 = (object) array('id' => $anonymous_comment4, 'subject' => $subject, 'comment' => $body);
+
+    // Update the node as an administrator, we should not get any "queued for
+    // approval" messages.
+    $this->drupalPost('comment/edit/' . $anonymous_comment4->id, array(), t('Preview'));
+    $this->drupalPost(NULL, array(), t('Save'));
+    $this->assertNoText(t('Your comment has been queued for moderation by site administrators and will be published after approval.'), t("Admins don't get the 'post queued' message when updating an unpublished node."));
     $this->drupalLogout();
 
     $this->assertFalse($this->commentExists($anonymous_comment4), t('Anonymous comment was not published.'));
