function CommentModuleTestCase::set_comment_settings in SimpleTest 6
Set comment setting for story content type.
Parameters
string $name Name of variable.:
string $vale Value of variable.:
string $message Status message to display.:
4 calls to CommentModuleTestCase::set_comment_settings()
- CommentModuleTestCase::set_comment_anonymous in tests/
comment_module.test - Set comment anonymous level setting.
- CommentModuleTestCase::set_comment_form in tests/
comment_module.test - Set comment form setting.
- CommentModuleTestCase::set_comment_preview in tests/
comment_module.test - Set comment preview setting.
- CommentModuleTestCase::set_comment_subject in tests/
comment_module.test - Set comment subject setting.
File
- tests/
comment_module.test, line 313
Class
Code
function set_comment_settings($name, $value, $message) {
$this
->drupalVariableSet($name . '_story', $value);
$this
->assertTrue(TRUE, $message);
// Display status message.
}