diff options
author | Niranjana <niranjana.y60@wipro.com> | 2021-11-02 05:27:17 +0000 |
---|---|---|
committer | Niranjana <niranjana.y60@wipro.com> | 2021-11-02 05:27:17 +0000 |
commit | b2f16a955d9fcd451a312aca8930658944b3fc60 (patch) | |
tree | 270a5534892471aa7e1ac5db3cc53dc17d71cc13 /cps-tbdmt-service/src/test | |
parent | 0792564e8e30aa1c3efc21e8f92fb6be7be167a1 (diff) |
Update response for delete query
Issue-ID: CPS-757
Signed-off-by: Niranjana <niranjana.y60@wipro.com>
Change-Id: I153ad1661a1bf11d34d0a354d1d38c5626cfc788
Diffstat (limited to 'cps-tbdmt-service/src/test')
-rw-r--r-- | cps-tbdmt-service/src/test/java/org/onap/cps/tbdmt/client/CpsRestClientTest.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cps-tbdmt-service/src/test/java/org/onap/cps/tbdmt/client/CpsRestClientTest.java b/cps-tbdmt-service/src/test/java/org/onap/cps/tbdmt/client/CpsRestClientTest.java index 76033c9..2cdb85a 100644 --- a/cps-tbdmt-service/src/test/java/org/onap/cps/tbdmt/client/CpsRestClientTest.java +++ b/cps-tbdmt-service/src/test/java/org/onap/cps/tbdmt/client/CpsRestClientTest.java @@ -186,7 +186,8 @@ public class CpsRestClientTest { ArgumentMatchers.any(), ArgumentMatchers.<Class<String>>any())) .thenReturn(response); - assertEquals("Success", cpsRestClient.deleteData("coverage-area-onap", "sample", "delete-list-node")); + assertEquals("{\"result\":\"Success\"}", + cpsRestClient.deleteData("coverage-area-onap", "sample", "delete-list-node")); } @Test @@ -198,6 +199,6 @@ public class CpsRestClientTest { ArgumentMatchers.any(), ArgumentMatchers.<Class<String>>any())) .thenReturn(response); - assertEquals("Success", cpsRestClient.deleteData("coverage-area-onap", "sample", "delete")); + assertEquals("{\"result\":\"Success\"}", cpsRestClient.deleteData("coverage-area-onap", "sample", "delete")); } } |