function CommentHelperCase::setCommentAnonymous

7.x comment.test CommentHelperCase::setCommentAnonymous($level)

Set comment anonymous level setting.

Parameters

integer $level: Anonymous level.

5 calls to CommentHelperCase::setCommentAnonymous()
CommentAnonymous::testAnonymous in drupal-7.x/modules/comment/comment.test
Test anonymous comment functionality.
CommentApprovalTest::testApprovalAdminInterface in drupal-7.x/modules/comment/comment.test
Test comment approval functionality through admin/content/comment.
CommentApprovalTest::testApprovalNodeInterface in drupal-7.x/modules/comment/comment.test
Test comment approval functionality through node interface.
CommentInterfaceTest::testCommentNodeCommentStatistics in drupal-7.x/modules/comment/comment.test
Tests the node comment statistics.
RdfCommentAttributesTestCase::setUp in drupal-7.x/modules/rdf/rdf.test
Sets up a Drupal site for running functional and integration tests.

File

drupal-7.x/modules/comment/comment.test, line 177
Tests for comment.module.

Class

CommentHelperCase

Code

function setCommentAnonymous($level) {
  $this->setCommentSettings('comment_anonymous', $level, format_string('Anonymous commenting set to level @level.', array('@level' => $level)));
}