diff options
Diffstat (limited to 'adapters/mso-adapter-utils/src/test/java')
-rw-r--r-- | adapters/mso-adapter-utils/src/test/java/org/onap/so/openstack/utils/StackStatusHandlerTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/adapters/mso-adapter-utils/src/test/java/org/onap/so/openstack/utils/StackStatusHandlerTest.java b/adapters/mso-adapter-utils/src/test/java/org/onap/so/openstack/utils/StackStatusHandlerTest.java index 54e2bbf06d..0d5cd6a118 100644 --- a/adapters/mso-adapter-utils/src/test/java/org/onap/so/openstack/utils/StackStatusHandlerTest.java +++ b/adapters/mso-adapter-utils/src/test/java/org/onap/so/openstack/utils/StackStatusHandlerTest.java @@ -33,7 +33,7 @@ public class StackStatusHandlerTest { requestProcessingData.setValue("testMe"); doReturn(requestProcessingData).when(requestDBClient) - .getRequestProcessingDataBySoRequestIdAndNameAndGrouping(null, "id", "stackName"); + .getRequestProcessingDataBySoRequestIdAndNameAndGrouping(null, "stackName", "id"); Stack latestStack = new Stack(); latestStack.setId("id"); latestStack.setStackName("stackName"); @@ -48,8 +48,8 @@ public class StackStatusHandlerTest { @Test public final void record_Not_Exists_Test() throws MsoException, IOException { ArgumentCaptor<RequestProcessingData> requestCaptor = ArgumentCaptor.forClass(RequestProcessingData.class); - doReturn(null).when(requestDBClient).getRequestProcessingDataBySoRequestIdAndNameAndGrouping(null, "id", - "stackName"); + doReturn(null).when(requestDBClient).getRequestProcessingDataBySoRequestIdAndNameAndGrouping(null, "stackName", + "id"); Stack latestStack = new Stack(); latestStack.setId("id"); latestStack.setStackName("stackName"); |