aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/test')
-rw-r--r--framework/src/test/java/org/onap/cli/fw/cmd/OnapSchemaRefreshCommandTest.java6
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"));
}
}