aboutsummaryrefslogtreecommitdiffstats
path: root/validate/validation/src/test
diff options
context:
space:
mode:
authorpriyanka.akhade <priyanka.akhade@huawei.com>2020-08-04 19:07:52 +0530
committerpriyanka.akhade <priyanka.akhade@huawei.com>2020-08-05 16:46:32 +0530
commit2bdd4f82bb6d2d7928044228bf0893cf6aa5921d (patch)
tree491e2cbaa8ffaf31789d6774b6bb260c2d860612 /validate/validation/src/test
parent6941680edbc46f1525ef739305f11781d1ddd70a (diff)
Code improvement - Pending sonar issues
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I11bff3e6fa5f3299ee3ad0f7bf5d3e42ee7a704c
Diffstat (limited to 'validate/validation/src/test')
-rw-r--r--validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java b/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java
index d24fe1e7..ca01dd0a 100644
--- a/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java
+++ b/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java
@@ -52,6 +52,7 @@ import org.onap.cli.fw.utils.OnapCommandDiscoveryUtils;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
+import static org.junit.Assert.assertFalse;
public class OnapValidationTest {
@@ -121,6 +122,7 @@ public class OnapValidationTest {
}
}
}
+ assertFalse(OnapCommandRegistrar.getRegistrar().getAvailableProductVersions().isEmpty());
}
@Test
@@ -144,6 +146,7 @@ public class OnapValidationTest {
}
}
}
+ assertFalse(OnapCommandRegistrar.getRegistrar().getAvailableProductVersions().isEmpty());
}
@Test