aboutsummaryrefslogtreecommitdiffstats
path: root/cps-tbdmt-service/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'cps-tbdmt-service/src/test')
-rw-r--r--cps-tbdmt-service/src/test/java/org/onap/cps/tbdmt/client/CpsRestClientTest.java5
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"));
}
}