Public Member Functions | |
setUp () | |
testUpdateDescriptionWhenAccountIsCreatedAndOwnerIsJim () | |
testCreateARelatedContactOnAnOpportunityWhenOpportunityBecomesClosedWon () | |
testAWorkflowProcess () | |
testUpdateRelatedCatalogItemOnAProductBySellPriceCriteria () | |
testProcessBeforeSaveOnCreatedByUserEquals () | |
testProcessBeforeSaveOnModifiedByUserEquals () | |
testSubscribeToListAction () | |
Static Public Member Functions | |
static | setUpBeforeClass () |
Static Protected Attributes | |
static | $jimmy |
Definition at line 37 of file WorkflowDocumentationTest.php.
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.
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.