diff options
author | 2018-06-21 17:32:00 +0300 | |
---|---|---|
committer | 2018-06-21 17:42:17 +0300 | |
commit | 285ff886bf5da36a64e05c419e960e8c6079334f (patch) | |
tree | 24c85ff1cb1c53c25b8206aaa9169bb3b20c5753 /workflow-designer-be/src/test | |
parent | f13bc01e97d9dafdd70b6ced86d58bb0cf1afbda (diff) |
Fixed functionality of Workflow API
renaming Exceptions package to lower case
Change-Id: Ib1395c15012d393be913d6588454b3b4b7c4b075
Issue-ID: SDC-1396
Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
Diffstat (limited to 'workflow-designer-be/src/test')
2 files changed, 2 insertions, 2 deletions
diff --git a/workflow-designer-be/src/test/java/org/onap/sdc/workflow/api/WorkflowControllerTest.java b/workflow-designer-be/src/test/java/org/onap/sdc/workflow/api/WorkflowControllerTest.java index 81ec82e6..0885d476 100644 --- a/workflow-designer-be/src/test/java/org/onap/sdc/workflow/api/WorkflowControllerTest.java +++ b/workflow-designer-be/src/test/java/org/onap/sdc/workflow/api/WorkflowControllerTest.java @@ -103,7 +103,7 @@ public class WorkflowControllerTest { Workflow reqWorkflow = createWorkflow(1, false); mockMvc.perform( post(WORKFLOWS_URL).header(RestConstants.USER_ID_HEADER_PARAM, USER_ID).contentType(APPLICATION_JSON) - .content(GSON.toJson(reqWorkflow))).andDo(print()).andExpect(status().isOk()) + .content(GSON.toJson(reqWorkflow))).andDo(print()).andExpect(status().isCreated()) .andExpect(MockMvcResultMatchers.content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE)); verify(workflowManagerMock, times(1)).create(reqWorkflow); } diff --git a/workflow-designer-be/src/test/java/org/onap/sdc/workflow/services/UniqueValueServiceTest.java b/workflow-designer-be/src/test/java/org/onap/sdc/workflow/services/UniqueValueServiceTest.java index 50a19655..4911060a 100644 --- a/workflow-designer-be/src/test/java/org/onap/sdc/workflow/services/UniqueValueServiceTest.java +++ b/workflow-designer-be/src/test/java/org/onap/sdc/workflow/services/UniqueValueServiceTest.java @@ -18,7 +18,7 @@ import org.mockito.MockitoAnnotations; import org.mockito.Spy; import org.onap.sdc.workflow.persistence.UniqueValueRepository; import org.onap.sdc.workflow.persistence.types.UniqueValueEntity; -import org.onap.sdc.workflow.services.errors.UniqueValueViolationException; +import org.onap.sdc.workflow.services.exceptions.UniqueValueViolationException; public class UniqueValueServiceTest { |