diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-08-30 10:38:50 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-08-30 11:03:50 +0530 |
commit | af8413e2b168187d7a1683b8b8bf9d1ab16fafbf (patch) | |
tree | ab10506337a4d99dd996930d46d51868cfec9ef2 /framework/src/test/java | |
parent | a4cd2403a5a171d6ab6aa6b1b0b1aae83345121b (diff) |
Update Schema refresh to report product version
CLI-37
Change-Id: Ifabd3e0581c74fd76cc60ec2a5b3005fb023e55e
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/test/java')
-rw-r--r-- | framework/src/test/java/org/onap/cli/fw/cmd/OnapSchemaRefreshCommandTest.java | 6 |
1 files changed, 4 insertions, 2 deletions
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")); } } |