diff options
author | Shailendra Borale <sb8915@att.com> | 2018-08-02 16:00:22 -0400 |
---|---|---|
committer | Takamune Cho <tc012c@att.com> | 2018-08-03 20:01:09 +0000 |
commit | f835229fe69a79fdfa08c64615733007f826d37b (patch) | |
tree | 25ad13a8f0fc3bdcfb5ceb8c82dc6adb05202f41 /appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test | |
parent | 7328253106df509c118ef4a65eabcada0d4dc55b (diff) |
Changed Code and DGs to return detailed response.
Added comment and used String instead of Integer.toString
Change-Id: I07a0a7752b225fbf50d761b489b9320b47fcc71d
Issue-ID: APPC-1013
Signed-off-by: sb8915 <sb8915@att.com>
Diffstat (limited to 'appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test')
-rw-r--r-- | appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test/java/org/onap/appc/adapter/ansible/impl/TestAnsibleAdapterImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test/java/org/onap/appc/adapter/ansible/impl/TestAnsibleAdapterImpl.java b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test/java/org/onap/appc/adapter/ansible/impl/TestAnsibleAdapterImpl.java index 7898260d1..7ba34e942 100644 --- a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test/java/org/onap/appc/adapter/ansible/impl/TestAnsibleAdapterImpl.java +++ b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/test/java/org/onap/appc/adapter/ansible/impl/TestAnsibleAdapterImpl.java @@ -150,7 +150,7 @@ public class TestAnsibleAdapterImpl { when(messageProcessor.reqUriResult(params)).thenReturn(agentUrl); when(messageProcessor.parseGetResponse(anyString())).thenReturn(result); spyAdapter.reqExecResult(params, svcContext); - assertEquals(SUCCESS, svcContext.getAttribute(RESULT_CODE_ATTRIBUTE_NAME)); + assertEquals("400", svcContext.getAttribute(RESULT_CODE_ATTRIBUTE_NAME)); } /** |