SilverStripe\ErrorPage\Tests\ErrorPageTest
Synopsis
class ErrorPageTest
extends FunctionalTest
{
- // members
- protected static string $fixture_file = 'ErrorPageTest.yml';
- protected string $tmpAssetsPath = '';
- // methods
- protected void setUp()
- protected void tearDown()
- public void test404ErrorPage()
- public void testBehaviourOfShowInMenuAndShowInSearchFlags()
- public void testBehaviourOf403()
- public void testSecurityError()
- public void testStaticCaching()
- public void testThemedCaching()
- public void testGeneratedFile()
- public void testGetByLink()
- public void testIsCurrent()
- public void testWriteStaticPageWithDisableStaticFile()
- public void testErrorMessageAppended()
- public array provideErrorMessageEnv()
- public void testRequiredRecords()
Hierarchy
Extends
- SilverStripe\Dev\FunctionalTest
Members
protected
- $fixture_file
- $tmpAssetsPath
—
string
Location of temporary cached files
Methods
protected
public
- provideErrorMessageEnv()
- test404ErrorPage()
- testBehaviourOf403()
- testBehaviourOfShowInMenuAndShowInSearchFlags()
- testErrorMessageAppended()
- testGeneratedFile() — Test fallback to file generation API with enable_static_file disabled
- testGetByLink()
- testIsCurrent()
- testRequiredRecords()
- testSecurityError()
- testStaticCaching()
- testThemedCaching()
- testWriteStaticPageWithDisableStaticFile()