You are here

function CommentModuleTestCase::set_comment_anonymous in SimpleTest 6

Set comment anonymous level setting.

Parameters

integer $level Anonymous level.:

1 call to CommentModuleTestCase::set_comment_anonymous()
CommentModuleTestCase::testAnonymous in tests/comment_module.test
Test anonymous comment functionality.

File

tests/comment_module.test, line 302

Class

CommentModuleTestCase

Code

function set_comment_anonymous($level) {
  $this
    ->set_comment_settings('comment_anonymous', $level, 'Anonymous commenting set to level ' . $level . '.');
}