From af8413e2b168187d7a1683b8b8bf9d1ab16fafbf Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 30 Aug 2017 10:38:50 +0530 Subject: Update Schema refresh to report product version CLI-37 Change-Id: Ifabd3e0581c74fd76cc60ec2a5b3005fb023e55e Signed-off-by: Kanagaraj Manickam k00365106 --- .../test/java/org/onap/cli/fw/cmd/OnapSchemaRefreshCommandTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'framework/src/test/java/org/onap') diff --git a/framework/src/test/java/org/onap/cli/fw/cmd/OnapSchemaRefreshCommandTest.java b/framework/src/test/java/org/onap/cli/fw/cmd/OnapSchemaRefreshCommandTest.java index eda6a591..b0aa2119 100644 --- a/framework/src/test/java/org/onap/cli/fw/cmd/OnapSchemaRefreshCommandTest.java +++ b/framework/src/test/java/org/onap/cli/fw/cmd/OnapSchemaRefreshCommandTest.java @@ -37,13 +37,15 @@ public class OnapSchemaRefreshCommandTest { String s1Number = onapCommandResultAttribute.get(0).getValues().get(0); String cmdName = onapCommandResultAttribute.get(1).getValues().get(0); - String cmdFile = onapCommandResultAttribute.get(2).getValues().get(0); - String version = onapCommandResultAttribute.get(3).getValues().get(0); + String cmdVer = onapCommandResultAttribute.get(2).getValues().get(0); + String cmdFile = onapCommandResultAttribute.get(3).getValues().get(0); + String version = onapCommandResultAttribute.get(4).getValues().get(0); assertTrue(s1Number.equalsIgnoreCase("1")); assertTrue(cmdName.equalsIgnoreCase("sample-test1")); assertTrue(cmdFile.equalsIgnoreCase("sample-test1-schema-http.yaml")); assertTrue(version.equalsIgnoreCase("1.0")); + assertTrue(cmdVer.equalsIgnoreCase("cli-1.0")); } } -- cgit 1.2.3-korg