summaryrefslogtreecommitdiffstats
path: root/auth/auth-cmd
diff options
context:
space:
mode:
authorJonathan Gathman <jonathan.gathman@att.com>2018-05-03 14:56:17 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-03 14:56:17 +0000
commit63f9f4d81af883ec5e5fc8de8865c81a2eb6bcd3 (patch)
tree55758ffb25ad7c61be65c1f51648b2ad52a241f3 /auth/auth-cmd
parent89904fec8cc8b9ed546f4672fd54b36c8b2975cc (diff)
parent56957c94262fa6d5580669c7c1cdbfcfeaf09a0c (diff)
Merge "Increase code coverage auth fs"
Diffstat (limited to 'auth/auth-cmd')
-rw-r--r--auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java b/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java
index 9eb4b75b..a5b58ef0 100644
--- a/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java
+++ b/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java
@@ -150,12 +150,13 @@ public class JU_List {
pkey.setAction("test");
pkey.setInstance("test");
pkey.setType("test");
-
- list.report(roles, perms , urs , "test");
+ role.addPerms(pkey);
list.report(roles, perms , null , "test");
- cli.eval("DETAILS @[ 123");
+ list.report(roles, perms , urs , "test");
+
+ aafcli.eval("DETAILS @[ 123");
role.setName("test");
- role.addPerms(pkey);
+
list.report(roles, perms , urs , "test");
}