SilverStripe\UserForms\Tests\Control\UserDefinedFormControllerTest
Synopsis
class UserDefinedFormControllerTest
extends FunctionalTest
{
- // members
- protected static string $fixture_file = '../UserFormsTest.yml';
- protected static boolean $use_draft_site = true;
- protected static boolean $disable_themes = true;
- // methods
- protected void setUp()
- protected void tearDown()
- public void testProcess()
- public void testValidation()
- public void testFinished()
- public void testAppendingFinished()
- public void testForm()
- public void testGetFormFields()
- public void testGetFormActions()
- public void testRenderingIntoFormTemplate()
- public void testRenderingIntoTemplateWithSubstringReplacement()
- public void testRenderingIntoTemplateWithDisabledInterpolation()
- protected UserDefinedForm setupFormFrontend()
- public void checkTemplateIsCorrect()
- public void testRecipientSubjectMergeFields()
- public void testImageThumbnailCreated()
- public void testRecipientAttachment()
Hierarchy
Extends
- SilverStripe\Dev\FunctionalTest
Members
protected
- $disable_themes
- $fixture_file
- $use_draft_site
Methods
protected
- setUp()
- setupFormFrontend() — Publish a form for use on the frontend
- tearDown()
public
- checkTemplateIsCorrect()
- testAppendingFinished()
- testFinished()
- testForm()
- testGetFormActions()
- testGetFormFields()
- testImageThumbnailCreated()
- testProcess()
- testRecipientAttachment()
- testRecipientSubjectMergeFields()
- testRenderingIntoFormTemplate()
- testRenderingIntoTemplateWithDisabledInterpolation()
- testRenderingIntoTemplateWithSubstringReplacement()
- testValidation()