diff options
author | mukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com> | 2020-08-21 16:16:20 +0530 |
---|---|---|
committer | mukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com> | 2020-08-21 16:16:20 +0530 |
commit | 61696a584efe49df1067a624f969c1851d00cac1 (patch) | |
tree | 4f18503c8227d29b76509685b9f72aa1338641fc /huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/AuthMgrTest.java | |
parent | 81529f59455b00b2aa0e7b36f8dee872567143a3 (diff) |
Code coverage should be at least 55%
Issue-ID: VFC-1726
Signed-off-by: mukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com>
Change-Id: Ic3187827c24eff3e2ce52690a71d4146f8e5b271
Diffstat (limited to 'huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/AuthMgrTest.java')
-rw-r--r-- | huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/AuthMgrTest.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/AuthMgrTest.java b/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/AuthMgrTest.java index c593ca58..af97c25a 100644 --- a/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/AuthMgrTest.java +++ b/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/AuthMgrTest.java @@ -45,14 +45,14 @@ public class AuthMgrTest { @Test public void testAuthToken() { - new MockUp<VnfmRestfulUtil>() { - - @Mock - public RestfulResponse getRestResByDefault(String auth, String method, JSONObject authParams) { - RestfulResponse response = null; - return response; - } - }; +// new MockUp<VnfmRestfulUtil>() { +// +// @Mock +// public RestfulResponse getRestResByDefault(String auth, String method, JSONObject authParams) { +// RestfulResponse response = null; +// return response; +// } +// }; AuthMgr authMgr = new AuthMgr(); String data = "{\"auth\":{\"identity\":{\"password\":{\"user\":{\"name\":\"om_team\",\"password\":\"123\"}}}}}"; |