diff options
Diffstat (limited to 'framework/src/test/java/org/onap')
3 files changed, 4 insertions, 4 deletions
diff --git a/framework/src/test/java/org/onap/cli/fw/OnapCommandRegistrarTest.java b/framework/src/test/java/org/onap/cli/fw/OnapCommandRegistrarTest.java index 4f5c95e2..d34f89c2 100644 --- a/framework/src/test/java/org/onap/cli/fw/OnapCommandRegistrarTest.java +++ b/framework/src/test/java/org/onap/cli/fw/OnapCommandRegistrarTest.java @@ -42,10 +42,10 @@ public class OnapCommandRegistrarTest { } private void createDir() { - URL url = OnapCommandRegistrarTest.class.getClassLoader().getResource("onap-cli-schema"); + URL url = OnapCommandRegistrarTest.class.getClassLoader().getResource("open-cli-schema"); if (url != null) { String path = url.getPath(); - path = path.replaceFirst("onap-cli-schema", "data"); + path = path.replaceFirst("open-cli-schema", "data"); File file = new File(path); if (!file.exists()) { file.mkdir(); diff --git a/framework/src/test/java/org/onap/cli/fw/conf/OnapCommandConfgTest.java b/framework/src/test/java/org/onap/cli/fw/conf/OnapCommandConfgTest.java index 7d58a6f4..1a677707 100644 --- a/framework/src/test/java/org/onap/cli/fw/conf/OnapCommandConfgTest.java +++ b/framework/src/test/java/org/onap/cli/fw/conf/OnapCommandConfgTest.java @@ -33,7 +33,7 @@ public class OnapCommandConfgTest { @Test public void isAuthIgnoredTest() throws IOException { Properties prps = new Properties(); - prps.load(OnapCommandConfg.class.getClassLoader().getResourceAsStream("onap.properties")); + prps.load(OnapCommandConfg.class.getClassLoader().getResourceAsStream("open-cli.properties")); boolean auth = OnapCommandConfg.isAuthIgnored(); Assert.assertTrue(auth == Boolean.valueOf(prps.getProperty("cli.ignore_auth"))); Assert.assertTrue(OnapCommandConfg.isCookiesBasedAuth() == Boolean diff --git a/framework/src/test/java/org/onap/cli/fw/schema/ValidateSchemaTest.java b/framework/src/test/java/org/onap/cli/fw/schema/ValidateSchemaTest.java index a8df9979..d8745989 100644 --- a/framework/src/test/java/org/onap/cli/fw/schema/ValidateSchemaTest.java +++ b/framework/src/test/java/org/onap/cli/fw/schema/ValidateSchemaTest.java @@ -55,7 +55,7 @@ public class ValidateSchemaTest { protected void run() throws OnapCommandException {} }; OnapCommandUtils.loadSchema(cmd, - ValidateSchemaTest.class.getClassLoader().getResource("onap.properties").getFile(), + ValidateSchemaTest.class.getClassLoader().getResource("open-cli.properties").getFile(), true, true); } |