WorkflowDocumentationTest Class Reference

Inheritance diagram for WorkflowDocumentationTest:
WorkflowBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 setUp ()
 testUpdateDescriptionWhenAccountIsCreatedAndOwnerIsJim ()
 testCreateARelatedContactOnAnOpportunityWhenOpportunityBecomesClosedWon ()
 testAWorkflowProcess ()
 testUpdateRelatedCatalogItemOnAProductBySellPriceCriteria ()
 testProcessBeforeSaveOnCreatedByUserEquals ()
 testProcessBeforeSaveOnModifiedByUserEquals ()
 testSubscribeToListAction ()
 testProcessWorkflowForTaskWhenProjectAsARequiredCustomPicklist ()

Static Public Member Functions

static setUpBeforeClass ()

Static Protected Attributes

static $jimmy

Detailed Description

Definition at line 37 of file WorkflowDocumentationTest.php.

Member Function Documentation

testUpdateDescriptionWhenAccountIsCreatedAndOwnerIsJim (  ) 

A simple workflow that is only triggered on a new account being created. If the owner is jimmy it means that the description will be updated with some text.

Definition at line 64 of file WorkflowDocumentationTest.php.

testProcessBeforeSaveOnCreatedByUserEquals (  ) 

Tests that a bug involving createdByUser is resolved. The issue was that createdByUser is not set until after the workflow observer is called beforeSave. This behavior was changed and now this test passes

Definition at line 240 of file WorkflowDocumentationTest.php.

testProcessBeforeSaveOnModifiedByUserEquals (  ) 

A test to show that the modifiedByUser works ok as a trigger with 'equals' on a newly created model.

See also:

Definition at line 284 of file WorkflowDocumentationTest.php.

testSubscribeToListAction (  ) 

Tests subscribing a contact to a marketing list

Definition at line 327 of file WorkflowDocumentationTest.php.

testProcessWorkflowForTaskWhenProjectAsARequiredCustomPicklist (  ) 

Tests that a bug involving creating a required custom picklist on projects causes the workflow to break when creating a task

Definition at line 371 of file WorkflowDocumentationTest.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Dec 10 07:11:19 2019