Commit 0497b10e authored by webchick's avatar webchick
Browse files

#679960 follow-up by lambic: Add test for 'Notice: undefined variable cids'...

#679960 follow-up by lambic: Add test for 'Notice: undefined variable cids' when there are no comments available.
parent 3f282632
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment