SilverStripe\CMS\Tests\Controllers\ContentControllerTest
Synopsis
class ContentControllerTest
extends FunctionalTest
{
- // members
- protected static string $fixture_file = 'ContentControllerTest.yml';
- protected static boolean $disable_themes = true;
- protected static array $extra_dataobjects = ;
- // methods
- protected void setUp()
- public void testNestedPages()
- public void testChildrenOf()
- public void testDeepNestedURLs()
- public void testViewDraft()
- public void testLinkShortcodes()
- public void testGetViewer()
Hierarchy
Extends
- SilverStripe\Dev\FunctionalTest
Members
protected
- $disable_themes
- $extra_dataobjects
- $fixture_file
Methods
protected
public
- testChildrenOf() — Tests {@link ContentController::ChildrenOf()}
- testDeepNestedURLs()
- testGetViewer() — Tests that {@link ContentController::getViewer()} chooses the correct templates.
- testLinkShortcodes()
- testNestedPages() — Test that nested pages, basic actions, and nested/non-nested URL switching works properly
- testViewDraft()