Skip to content

Commit

Permalink
prepare release 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Sep 11, 2018
1 parent 1654511 commit 69d945e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public void testOnSave() throws AccessDeniedException, ProcessingErrorException,
// load test workitem
ItemCollection workitem = workflowMockEnvironment.getDatabase().get("W0000-00001");
workitem.replaceItemValue(WorkflowKernel.MODELVERSION, WorkflowMockEnvironment.DEFAULT_MODEL_VERSION);
workitem.replaceItemValue(WorkflowKernel.PROCESSID, 1000);
workitem.replaceItemValue(WorkflowKernel.ACTIVITYID, 10);
workitem.replaceItemValue(WorkflowKernel.TASKID, 1000);
workitem.replaceItemValue(WorkflowKernel.EVENTID, 10);

DocumentEvent documentEvent = new DocumentEvent(workitem, DocumentEvent.ON_DOCUMENT_SAVE);

Expand Down Expand Up @@ -139,9 +139,9 @@ public void testOnSaveVersion()
// load test workitem
ItemCollection workitem = workflowMockEnvironment.getDatabase().get("W0000-00001");
workitem.replaceItemValue(WorkflowKernel.MODELVERSION, WorkflowMockEnvironment.DEFAULT_MODEL_VERSION);
workitem.replaceItemValue(WorkflowKernel.PROCESSID, 1000);
workitem.replaceItemValue(WorkflowKernel.TASKID, 1000);
// trigger the split event
workitem.replaceItemValue(WorkflowKernel.ACTIVITYID, 10);
workitem.replaceItemValue(WorkflowKernel.EVENTID, 10);

byte[] data = "This is a test".getBytes();
// we attache a file....
Expand Down Expand Up @@ -173,7 +173,7 @@ public void testOnSaveVersion()
* Now we trigger a second event to create a version be we remove the file
* content before...
*/
workitem.replaceItemValue(WorkflowKernel.ACTIVITYID, 20);
workitem.replaceItemValue(WorkflowKernel.EVENTID, 20);
documentEvent = new DocumentEvent(workitem, DocumentEvent.ON_DOCUMENT_SAVE);
snapshotService.onSave(documentEvent);
workitem = workflowMockEnvironment.getWorkflowService().processWorkItem(workitem);
Expand Down Expand Up @@ -232,8 +232,8 @@ public void testFileDataAndDMSEntries()
// load test workitem
ItemCollection workitem = workflowMockEnvironment.getDatabase().get("W0000-00001");
workitem.replaceItemValue(WorkflowKernel.MODELVERSION, WorkflowMockEnvironment.DEFAULT_MODEL_VERSION);
workitem.replaceItemValue(WorkflowKernel.PROCESSID, 1000);
workitem.replaceItemValue(WorkflowKernel.ACTIVITYID, 10);
workitem.replaceItemValue(WorkflowKernel.TASKID, 1000);
workitem.replaceItemValue(WorkflowKernel.EVENTID, 10);

// add file...
byte[] dummyContent = { 1, 2, 3 };
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<org.imixs.workflow.version>4.4.0-SNAPSHOT</org.imixs.workflow.version>
<org.imixs.workflow.version>4.3.7</org.imixs.workflow.version>
<org.imixs.melman.version>1.0.4</org.imixs.melman.version>
<lucene.version>6.6.1</lucene.version>
<!-- imixs-github-repo on github - see ~/.m2/settings.xml -->
Expand Down

0 comments on commit 69d945e

Please sign in to comment.