mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Fixed failing WorkflowModelBuilderTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32228 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -254,7 +254,8 @@ public class WorkflowModelBuilderTest extends TestCase
|
||||
public void testBuildWorkflowInstanceDetailed() throws Exception
|
||||
{
|
||||
WorkflowTaskDefinition workflowTaskDefinition = makeTaskDefinition();
|
||||
when(workflowTaskDefinition.getMetadata().getName()).thenReturn(QName.createQName("The Type Name"));
|
||||
QName taskTypeName = WorkflowModel.TYPE_WORKFLOW_TASK;
|
||||
when(workflowTaskDefinition.getMetadata().getName()).thenReturn(taskTypeName);
|
||||
when(workflowTaskDefinition.getMetadata().getTitle()).thenReturn("The Type Title");
|
||||
when(workflowTaskDefinition.getMetadata().getDescription()).thenReturn("The Type Description");
|
||||
|
||||
|
Reference in New Issue
Block a user