\NewsCommentTest
Functional tests to see if comments are correctly linked.
- Author: Simon 'Sphere' Erkelens
Synopsis
class NewsCommentTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'NewsTest.yml';
- // methods
- public void testItemComments()
- public void testItemSpamComment()
Hierarchy
Extends
- SapphireTest
Members
protected
- $fixture_file
Methods
public
- testItemComments() — This should test if an item has comments or not.
- testItemSpamComment() — Test if a comment is marked as spam.