ActionMappingIntegrationTest
class ActionMappingIntegrationTest extends ActionIntegrationTestBase
This integration test checks if the mapping action is processed correctly in the dummy workflow.
Properties
| protected | $PROCESS_ID | from ActionIntegrationTestBase | |
| protected | $TRANSITION_IDENTIFIER | from ActionIntegrationTestBase | |
| protected | $ACTION_HOOK_NAME | ||
| protected | $ACTION_TITLE | from ActionIntegrationTestBase | |
| protected | $ACTION_IDENTIFIER | from ActionIntegrationTestBase | |
| protected xm_workflows | $instance | from ActionIntegrationTestBase | |
| protected xmodel_workflows_process | $process | from ActionIntegrationTestBase | |
| protected xmodel_workflows_transition | $transition | from ActionIntegrationTestBase |
Methods
Clears the cache and the IM cache, deletes all workflow items and sets the instance variables.
Creates the action for the transition and saves it in the DB.
Starts the workflow of the process, returns the item.
Performs the workflow process like the daemon should with a new action on each run:
- Creates the action
- sets the config
- starts a workflow process and returns a new item
- sets the User with the ID 1 as the creator
- runs the daemon action.
No description
Details
in
ActionIntegrationTestBase at line 46
protected
_before()
Clears the cache and the IM cache, deletes all workflow items and sets the instance variables.
in
ActionIntegrationTestBase at line 97
protected xmodel_workflows_action
createAction(xmodel_workflows_transition $transition)
Creates the action for the transition and saves it in the DB.
in
ActionIntegrationTestBase at line 121
protected bool|xmodel_workflows_wf_item|null
createItem(xmodel_workflows_process $process)
Starts the workflow of the process, returns the item.
in
ActionIntegrationTestBase at line 72
protected xmodel_workflows_wf_item
performAction($config)
Performs the workflow process like the daemon should with a new action on each run:
- Creates the action
- sets the config
- starts a workflow process and returns a new item
- sets the User with the ID 1 as the creator
- runs the daemon action.
- deletes the action
- returns the re-loaded item
at line 18
testMapFixedValues()
No description