SilverStripe\CMS\Tests\Controllers\CMSBatchActionsTest
Tests CMS Specific subclasses of {@see CMSBatchAction}
Synopsis
class CMSBatchActionsTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'CMSBatchActionsTest.yml';
- // methods
- protected void setUp()
- public void testBatchPublishApplicable()
- public void testBatchUnpublishApplicable()
- public void testBatchDeleteApplicable()
- public void testBatchRestoreApplicable()
- public void testBatchRestore()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $fixture_file
Methods
protected
public
- testBatchDeleteApplicable() — Test which pages can be archived via delete batch actions
- testBatchPublishApplicable() — Test which pages can be published via batch actions
- testBatchRestore()
- testBatchRestoreApplicable() — Test restore batch actions
- testBatchUnpublishApplicable() — Test which pages can be unpublished via batch actions