summaryrefslogtreecommitdiffstats
path: root/auth/cli-codegen/src
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2018-11-08 20:06:03 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-08 20:06:03 +0000
commitf5f76a2e0d8fb2fd6e17bb5f0e85a3f7d29cf0c4 (patch)
tree1370b6bad00367b6009f3dfb6a16a7008e4379e1 /auth/cli-codegen/src
parent8e6b49616df8e47a1c00629b20dcf947ea0bca68 (diff)
parentcad452cdb6d999f822fe11dc4fdd232cce30ff6a (diff)
Merge "Refactor unit test data" into casablanca3.0.0-ONAP2.0.3
Diffstat (limited to 'auth/cli-codegen/src')
-rw-r--r--auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/CliCodegenTest.java2
-rw-r--r--auth/cli-codegen/src/test/resources/models/TestPolicyModel.json (renamed from auth/cli-codegen/src/test/resources/models/SamplePolicyModel.json)0
2 files changed, 1 insertions, 1 deletions
diff --git a/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/CliCodegenTest.java b/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/CliCodegenTest.java
index 968891d06..13f0bc0e6 100644
--- a/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/CliCodegenTest.java
+++ b/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/CliCodegenTest.java
@@ -80,7 +80,7 @@ public class CliCodegenTest {
AxPolicyModel apexPolicyModel = null;
try {
apexPolicyModel = modelReader
- .read(new FileInputStream(new File("src/test/resources/models/SamplePolicyModel.json")));
+ .read(new FileInputStream(new File("src/test/resources/models/TestPolicyModel.json")));
} catch (ApexModelException | FileNotFoundException e) {
fail("test should not throw an exception");
}
diff --git a/auth/cli-codegen/src/test/resources/models/SamplePolicyModel.json b/auth/cli-codegen/src/test/resources/models/TestPolicyModel.json
index 2dc4bcd3f..2dc4bcd3f 100644
--- a/auth/cli-codegen/src/test/resources/models/SamplePolicyModel.json
+++ b/auth/cli-codegen/src/test/resources/models/TestPolicyModel.json