You are here

function RadioactivityNodeTestCase::setCommentPreview in Radioactivity 6

2 calls to RadioactivityNodeTestCase::setCommentPreview()
RadioactivityNodeTestCase::testActions_commentAutoApproval in plugins/radioactivity_node.test
RadioactivityNodeTestCase::testActions_commentNoAutoApproval in plugins/radioactivity_node.test

File

plugins/radioactivity_node.test, line 89

Class

RadioactivityNodeTestCase

Code

function setCommentPreview($required) {
  $this
    ->setCommentSettings('comment_preview', $required ? '1' : '0', 'Comment preview ' . ($required ? 'required' : 'optional') . '.');
}