SilverStripe\ContentReview\Tests\ContentReviewCMSPageEditControllerTest
Synopsis
class ContentReviewCMSPageEditControllerTest
extends ContentReviewBaseTest
{
- // members
- protected static string $fixture_file = 'ContentReviewTest.yml';
- protected static array $required_extensions = ;
- // Inherited members from ContentReviewBaseTest
- protected bool $translatableEnabledBefore;
- // methods
- public void testReviewedThrowsExceptionWithNoRecordID()
- public void testReviewedThrowsExceptionWithWrongRecordID()
- public void testReviewedWithAuthor()
- protected string getFormAction()
Hierarchy
Members
protected
- $fixture_file — string
- $required_extensions — array
- $translatableEnabledBefore — SilverStripe\ContentReview\Tests\bool
Methods
protected
- getFormAction() — Return a CMS page edit form action via using a dummy request and session
public
- testReviewedThrowsExceptionWithNoRecordID()
- testReviewedThrowsExceptionWithWrongRecordID()
- testReviewedWithAuthor()