Fixed failing workflow-integration tests (completing task assignee now explicitally checked from current authenticated user, test din't set that)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@36139 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Frederik Heremans
2012-05-08 09:23:55 +00:00
parent d083904a6a
commit d5a9e41441

View File

@@ -387,6 +387,7 @@ public abstract class AbstractWorkflowRestApiTest extends BaseWebScriptTest
checkWorkflowTaskDefinition(startTask.getDefinition(), result.getJSONObject("definition"));
// Finish the start-task, and fetch it again
personManager.setUser(USER2);
workflowService.endTask(startTask.getId(), null);
startTask = workflowService.getTaskById(startTask.getId());