SilverStripe\CMS\Tests\Model\RedirectorPageTest
Synopsis
class RedirectorPageTest
extends FunctionalTest
{
- // members
- protected static string $fixture_file = 'RedirectorPageTest.yml';
- protected boolean $autoFollowRedirection = false;
- // methods
- protected void setUp()
- public void testGoodRedirectors()
- public void testEmptyRedirectors()
- public void testReflexiveAndTransitiveInternalRedirectors()
- public void testExternalURLGetsPrefixIfNotSet()
- public void testAllowsProtocolRelative()
- public void testRedirectRespectsFinishedResponse()
- public void testNoJSLinksAllowed()
Hierarchy
Extends
- SilverStripe\Dev\FunctionalTest
Members
protected
- $autoFollowRedirection
- $fixture_file
Methods
protected
public
- testAllowsProtocolRelative()
- testEmptyRedirectors()
- testExternalURLGetsPrefixIfNotSet()
- testGoodRedirectors()
- testNoJSLinksAllowed()
- testRedirectRespectsFinishedResponse() — Test that we can trigger a redirection before RedirectorPageController::init() is called
- testReflexiveAndTransitiveInternalRedirectors()