aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap
diff options
context:
space:
mode:
authorJegadeesh Babu <jegabab1@in.ibm.com>2019-02-06 15:27:59 +0530
committerJegadeesh Babu <jegabab1@in.ibm.com>2019-02-06 15:55:47 +0530
commitf24ef5254416d6d7dc1bf707cd6a9867466bfd13 (patch)
treecf74f0598bfa4deb2e35ee00bbc7dc44e109d0d0 /src/test/java/org/onap
parent0ef26619ea167f455e907db7998792b5114fb1dd (diff)
Added unit test case
Added unit test case to reach min coverage limit Issue-ID: MUSIC-308 Change-Id: I4b96218d977c176285abe1903bf570e3525a9ce2 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
Diffstat (limited to 'src/test/java/org/onap')
-rw-r--r--src/test/java/org/onap/music/unittests/TestRestAdminData.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/java/org/onap/music/unittests/TestRestAdminData.java b/src/test/java/org/onap/music/unittests/TestRestAdminData.java
index 0471d6f0..2708b64b 100644
--- a/src/test/java/org/onap/music/unittests/TestRestAdminData.java
+++ b/src/test/java/org/onap/music/unittests/TestRestAdminData.java
@@ -2568,4 +2568,12 @@ public class TestRestAdminData {
appName, authorization, keyspaceName, tableNameConditional, json);
assertEquals(401, response.getStatus());
}
+ @Test
+ public void Test8_HealthCheck_cassandra_musicHealthCheck() {
+ RestMusicHealthCheckAPI healthCheck = new RestMusicHealthCheckAPI();
+ Response response = healthCheck.musicHealthCheck();
+ assertEquals(200, response.getStatus());
+ }
+
+
} \ No newline at end of file