diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/onap/dcae/inventory/InventoryApplicationTest.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/test/java/org/onap/dcae/inventory/InventoryApplicationTest.java b/src/test/java/org/onap/dcae/inventory/InventoryApplicationTest.java index 8011452..aacbd25 100644 --- a/src/test/java/org/onap/dcae/inventory/InventoryApplicationTest.java +++ b/src/test/java/org/onap/dcae/inventory/InventoryApplicationTest.java @@ -59,13 +59,7 @@ public class InventoryApplicationTest { String userArgs[] = {"server"}; assertEquals(InventoryApplication.processArgs(userArgs).length, 2); - userArgs = new String[] {"server some-yaml.yaml"}; - assertArrayEquals(InventoryApplication.processArgs(userArgs), userArgs); - - userArgs = new String[] {"foo"}; - assertArrayEquals(InventoryApplication.processArgs(userArgs), userArgs); - - userArgs = new String[] {"foo bar"}; + userArgs = new String[] {"server", "some-junit-yaml.yaml"}; assertArrayEquals(InventoryApplication.processArgs(userArgs), userArgs); } |