Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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 Jan 21 07:10:29 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8