diff options
author | Jorge Hernandez <jh1730@att.com> | 2018-03-13 19:01:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-13 19:01:49 +0000 |
commit | 1cb0fbfc4993c1f47f31b061d70b64f53247df95 (patch) | |
tree | 5980c897a2791662c3741640457e2f6ee05b6961 /POLICY-SDK-APP/src/test/java | |
parent | 3c9de6694e0cdf7f5c8c17d3180af52ceb33903c (diff) | |
parent | dbb838a594fde49ca337900e42a6e9b56bb2b60b (diff) |
Merge "Fixed the SDK Junits and cleaned unused code"
Diffstat (limited to 'POLICY-SDK-APP/src/test/java')
-rw-r--r-- | POLICY-SDK-APP/src/test/java/org/onap/policy/admin/PolicyManagerServletTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/POLICY-SDK-APP/src/test/java/org/onap/policy/admin/PolicyManagerServletTest.java b/POLICY-SDK-APP/src/test/java/org/onap/policy/admin/PolicyManagerServletTest.java index 06a2bb98e..bda2de1d0 100644 --- a/POLICY-SDK-APP/src/test/java/org/onap/policy/admin/PolicyManagerServletTest.java +++ b/POLICY-SDK-APP/src/test/java/org/onap/policy/admin/PolicyManagerServletTest.java @@ -85,6 +85,9 @@ public class PolicyManagerServletTest extends Mockito{ roles.setLoginId("Test"); roles.setRole("super-admin"); Roles roles1 = new Roles(); + roles1.setId(1); + roles1.setName("Test"); + assertTrue("Test".equals(roles1.getName())); roles1.setLoginId("Test"); roles1.setRole("admin"); roles1.setScope("['com','Test']"); |