Status Updates can now be sent when publishing content to a channel.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28392 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
N Smith
2011-06-14 15:15:30 +00:00
parent 233cf9a368
commit 38dd3a04fb
20 changed files with 362 additions and 63 deletions

View File

@@ -104,7 +104,7 @@ public class PublishWebContentJbpmTest
public void testProcessTimers() throws Exception
{
final Calendar scheduledTime = Calendar.getInstance();
scheduledTime.add(Calendar.SECOND, 10);
scheduledTime.add(Calendar.SECOND, 5);
startWorkflowAndCommit(scheduledTime);
@@ -112,7 +112,7 @@ public class PublishWebContentJbpmTest
checkNode("waitForScheduledTime");
// Wait for scheduled time to elapse.
Thread.sleep(11000);
Thread.sleep(10000);
// Check the Publish Event Action was called
verify(checkPublishingDependenciesAction).execute(any(Action.class), any(NodeRef.class));