diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/src/test/java/org/onap/cli/main/OnapCliMainTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/test/java/org/onap/cli/main/OnapCliMainTest.java b/main/src/test/java/org/onap/cli/main/OnapCliMainTest.java index 145f7462..754dff83 100644 --- a/main/src/test/java/org/onap/cli/main/OnapCliMainTest.java +++ b/main/src/test/java/org/onap/cli/main/OnapCliMainTest.java @@ -102,8 +102,7 @@ public class OnapCliMainTest { } this.handle(new String[] { "sample-create", "--help" }); OnapCommand cmd = OnapCommandRegistrar.getRegistrar().get("sample-create"); - List<String> args = new ArrayList<>(Arrays.asList(new String[] { "sample-create", "-u", "admin", "-p", - "Changeme_123", "-m", "http://192.168.99.100:80", "--service-name", "test-service", "-i", "ip1", "-i", + List<String> args = new ArrayList<>(Arrays.asList(new String[] { "sample-create", "--service-name", "test-service", "-i", "ip1", "-i", "ip2", "-o", "port1=value1", "-o", "port2=value2" })); OnapCliUtils.populateParams(cmd.getParameters(), args); } |