WorkflowDocumentationTest Class Reference

Inheritance diagram for WorkflowDocumentationTest:
WorkflowBaseTest ZurmoBaseTest BaseTest

Public Member Functions

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

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:
testProcessBeforeSaveOnCreatedByUserEquals

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.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jul 24 07:10:31 2017