Symbiote\AdvancedWorkflow\Tests\WorkflowPermissionsTest
Tests for permissions on all Workflow Objects.
These will obviousely need to be modified should additional workflow permissions come online.
- Author: russell@silverstripe.com
- License: BSD License (http://silverstripe.org/bsd-license/)
Synopsis
class WorkflowPermissionsTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'workflowpermissions.yml';
- // methods
- public void testWorkflowDefinitionCanPerms()
- public void testWorkflowActionCanPerms()
- public void testWorkflowTransitionPerms()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $fixture_file — string
Methods
public
- testWorkflowActionCanPerms() — Tests whether members with differing permissions, should be able to create & edit WorkflowActions
- testWorkflowDefinitionCanPerms() — Tests whether members with differing permissions, should be able to create & edit WorkflowDefinitions
- testWorkflowTransitionPerms() — Tests whether members with differing permissions, should be able to create & edit WorkflowActions