SilverStripe\Comments\Tests\CommentingControllerTest
Synopsis
class CommentingControllerTest
extends FunctionalTest
{
- // members
- protected static string $fixture_file = 'CommentsTest.yml';
- protected static array $extra_dataobjects = ;
- protected $securityEnabled;
- // methods
- protected void tearDown()
- protected void setUp()
- public void testCommentsFormUsePreview()
- public void testApproveUnmoderatedComment()
- public void testSetGetOwnerController()
- public void testHam()
- public void testSpam()
- public void testRSS()
- public void testCommentsForm()
- public void testEncodeClassName()
- public void testDecodeClassName()
Hierarchy
Extends
- SilverStripe\Dev\FunctionalTest
Members
protected
-
$extra_dataobjects
{@inheritDoc} -
$fixture_file
{@inheritDoc} - $securityEnabled
Methods
protected
public
- testApproveUnmoderatedComment()
- testCommentsForm()
- testCommentsFormUsePreview()
- testDecodeClassName()
- testEncodeClassName() — SS4 introduces namespaces. They don't work in URLs, so we encode and decode them here.
- testHam()
- testRSS()
- testSetGetOwnerController()
- testSpam()