diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-04-03 12:00:57 +0300 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-04-03 12:27:06 +0300 |
commit | 80705cdf2dc38d48c4261a2ece3914234960233e (patch) | |
tree | 1d4f9a5cd6a45a0c900a8df20e8781e053914bcf /vid-app-common/src/test/java/org/onap/vid/aai/SubscriberFilteredResultsTest.java | |
parent | fa9080bc0e2be3198aebbe1da20af73ed91376ce (diff) |
Extract AlwaysValidRoleValidator from RoleValidator
Issue-ID: VID-448
Change-Id: Ic006aceca9c51305d0706df6c2c6062ccaaee3de
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/aai/SubscriberFilteredResultsTest.java')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/aai/SubscriberFilteredResultsTest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/aai/SubscriberFilteredResultsTest.java b/vid-app-common/src/test/java/org/onap/vid/aai/SubscriberFilteredResultsTest.java index 4655292c6..98b35aea4 100644 --- a/vid-app-common/src/test/java/org/onap/vid/aai/SubscriberFilteredResultsTest.java +++ b/vid-app-common/src/test/java/org/onap/vid/aai/SubscriberFilteredResultsTest.java @@ -21,8 +21,6 @@ package org.onap.vid.aai; import java.util.ArrayList; -import java.util.List; - import org.junit.Test; import org.onap.vid.model.SubscriberList; import org.onap.vid.roles.EcompRole; @@ -34,7 +32,7 @@ public class SubscriberFilteredResultsTest { private SubscriberFilteredResults createTestSubject() { ArrayList<Role> list = new ArrayList<Role>(); list.add(new Role(EcompRole.READ, "a", "a", "a")); - RoleValidator rl=new RoleValidator(list); + RoleValidator rl=RoleValidator.by(list); SubscriberList sl = new SubscriberList(); sl.customer = new ArrayList<org.onap.vid.model.Subscriber>(); sl.customer.add(new org.onap.vid.model.Subscriber()); |