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	1 Sep 2008 01:34:15 -0000
@@ -202,6 +202,12 @@ class CommentTestCase extends DrupalWebT
     $this->drupalLogin($this->admin_user);
     $anonymous_comment4 = $this->getUnaprovedComment($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.'));
