SilverStripe\ContentReview\Tests\ContentReviewNotificationTest
Synopsis
class ContentReviewNotificationTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'ContentReviewTest.yml';
- protected static array $required_extensions = ;
- // methods
- protected void setUp()
- public void testContentReviewEmails()
- public void testContentReviewNeeded()
- private void deleteAllPagesExcept()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $fixture_file — string
- $required_extensions — array
Methods
private
- deleteAllPagesExcept() — Deletes all pages except those passes in to the $ids parameter
protected
public
- testContentReviewEmails()
- testContentReviewNeeded() — When a content review is left after a review date, we want to ensure that overdue notifications aren't sent.