summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/comment/comment.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/comment/comment.test b/modules/comment/comment.test
index 0a0794ddf..52d3eb0cc 100644
--- a/modules/comment/comment.test
+++ b/modules/comment/comment.test
@@ -879,6 +879,11 @@ class CommentApprovalTest extends CommentHelperCase {
));
$this->drupalLogin($this->admin_user);
$this->setCommentAnonymous('0'); // Ensure that doesn't require contact info.
+
+ // Test that the comments page loads correctly when there are no comments
+ $this->drupalGet('admin/content/comment');
+ $this->assertText(t('No comments available.'));
+
$this->drupalLogout();
// Post anonymous comment without contact info.