summaryrefslogtreecommitdiffstats
path: root/wfenginemgrservice/src/test/java/org/onap
diff options
context:
space:
mode:
authorZhaoxing <meng.zhaoxing1@zte.com.cn>2017-09-27 09:51:07 +0800
committerZhaoxing <meng.zhaoxing1@zte.com.cn>2017-09-27 09:51:07 +0800
commit26626fc79558f525b8c8f4c7bce808cccd3bb1d4 (patch)
tree6182abcd09ebb85d0cf665dffd7ae660f347806e /wfenginemgrservice/src/test/java/org/onap
parentac53c536ace063133d91e8f5f6fce2a230aaf17f (diff)
Add unit test for vfc-nfvo-wfengine-mgrservice
Change-Id: I13dd12eabcfeddaf1c214ce11cee26912dc81fc7 Issue-id: VFC-454 Signed-off-by: Zhaoxing <meng.zhaoxing1@zte.com.cn>
Diffstat (limited to 'wfenginemgrservice/src/test/java/org/onap')
-rw-r--r--wfenginemgrservice/src/test/java/org/onap/workflow/resources/WorkflowResourceTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/wfenginemgrservice/src/test/java/org/onap/workflow/resources/WorkflowResourceTest.java b/wfenginemgrservice/src/test/java/org/onap/workflow/resources/WorkflowResourceTest.java
index c3cb392..e7d6523 100644
--- a/wfenginemgrservice/src/test/java/org/onap/workflow/resources/WorkflowResourceTest.java
+++ b/wfenginemgrservice/src/test/java/org/onap/workflow/resources/WorkflowResourceTest.java
@@ -44,7 +44,7 @@ public class WorkflowResourceTest {
workflowInstanceWrapper = mock(WorkflowInstanceWrapper.class);
Whitebox.setInternalState(WorkflowInstanceWrapper.class, "wrapper", workflowInstanceWrapper);
-
+
workflowResource = new WorkflowResource();
}
@@ -57,7 +57,7 @@ public class WorkflowResourceTest {
Response result = Response.ok("success").build();
when(workflowInstanceWrapper.deployBpmnFile(Mockito.anyString(), Mockito.anyObject(), Mockito.anyObject())).thenReturn(result);
-
+
assertThat(workflowResource.deployBpmnFile(fileInputStream,fileDetail), is(result));
}