\WorkflowInstanceTest
Tests for the workflow engine.
- Author: marcus@silverstripe.com.au
- License: BSD License (http://silverstripe.org/bsd-license/)
Synopsis
class WorkflowInstanceTest
extends SapphireTest
{
- // members
- public static string $fixture_file = 'advancedworkflow/tests/useractioninstancehistory.yml';
- protected Member $currentMember;
- // methods
- public void setUp()
- public void testGetMostRecentActionForUser()
- public void testCanView()
- public void testValidTransitions()
Hierarchy
Extends
- SapphireTest
Members
Methods
public
- setUp()
- testCanView() — Tests WorkflowInstance#canView()
- testGetMostRecentActionForUser() — Tests WorkflowInstance#getMostRecentActionForUser()
- testValidTransitions()