diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-06-18 12:20:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-06-18 12:20:57 +0000 |
commit | 92bd3a4d89a3f7740094e0c5dac278722fc3f27c (patch) | |
tree | fc202de200edef303bd66841245e189e469916fb /models-tosca/src/test/java/org/onap | |
parent | 348050eb3635e061deb4c21581a274299d7c6e12 (diff) | |
parent | 1d59343e1c0b2077137a16f83bd0da21cdc2741f (diff) |
Merge "Fix the bug of cannot return multiple versions of particular tosca policy and policy type"
Diffstat (limited to 'models-tosca/src/test/java/org/onap')
-rw-r--r-- | models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderPolicyTypeTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderPolicyTypeTest.java b/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderPolicyTypeTest.java index e360dcda8..c2b387952 100644 --- a/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderPolicyTypeTest.java +++ b/models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/provider/AuthorativeToscaProviderPolicyTypeTest.java @@ -211,7 +211,7 @@ public class AuthorativeToscaProviderPolicyTypeTest { ToscaServiceTemplate gotServiceTemplate = new AuthorativeToscaProvider().getFilteredPolicyTypes(pfDao, ToscaPolicyTypeFilter.builder().build()); - ToscaPolicyType gotPolicyType = gotServiceTemplate.getPolicyTypes().get(0).get(policyTypeKey.getName()); + ToscaPolicyType gotPolicyType = gotServiceTemplate.getPolicyTypes().get(1).get(policyTypeKey.getName()); assertEquals(true, beforePolicyType.getName().equals(gotPolicyType.getName())); assertEquals(0, ObjectUtils.compare(beforePolicyType.getDescription(), gotPolicyType.getDescription())); |