mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix failing tests following recent merges (itemId is no longer returned encoded)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1420,12 +1420,12 @@ public class FormServiceImplTest extends BaseAlfrescoSpringTest
|
|||||||
|
|
||||||
public void testJbpmWorkflowForm() throws Exception
|
public void testJbpmWorkflowForm() throws Exception
|
||||||
{
|
{
|
||||||
checkWorkflowForms("jbpm_wf_adhoc", "|Task Done");
|
checkWorkflowForms("jbpm$wf:adhoc", "|Task Done");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testActivitiWorkflowForm() throws Exception
|
public void testActivitiWorkflowForm() throws Exception
|
||||||
{
|
{
|
||||||
checkWorkflowForms("activiti_activitiAdhoc", "Next|Next");
|
checkWorkflowForms("activiti$activitiAdhoc", "Next|Next");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkWorkflowForms(String workflowDefName, String transitionLabels) throws Exception
|
private void checkWorkflowForms(String workflowDefName, String transitionLabels) throws Exception
|
||||||
@@ -1502,8 +1502,7 @@ public class FormServiceImplTest extends BaseAlfrescoSpringTest
|
|||||||
assertTrue("Expecting there to be more tasks", tasksAfter > tasksBefore);
|
assertTrue("Expecting there to be more tasks", tasksAfter > tasksBefore);
|
||||||
|
|
||||||
// check workflow instance details
|
// check workflow instance details
|
||||||
String actualWfName = workflow.getDefinition().getName();
|
assertEquals(workflowDefName, workflow.getDefinition().getName());
|
||||||
assertEquals(workflowDefName, actualWfName.replace('$', '_').replace(':', '_'));
|
|
||||||
|
|
||||||
// get the task form and verify data
|
// get the task form and verify data
|
||||||
String taskId = tasks.get(0).getId();
|
String taskId = tasks.get(0).getId();
|
||||||
|
Reference in New Issue
Block a user