From f24ef5254416d6d7dc1bf707cd6a9867466bfd13 Mon Sep 17 00:00:00 2001 From: Jegadeesh Babu Date: Wed, 6 Feb 2019 15:27:59 +0530 Subject: 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 --- src/test/java/org/onap/music/unittests/TestRestAdminData.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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 -- cgit 1.2.3-korg