summaryrefslogtreecommitdiffstats
path: root/adapters/mso-vfc-adapter/src/test/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'adapters/mso-vfc-adapter/src/test/java/org')
-rw-r--r--adapters/mso-vfc-adapter/src/test/java/org/openecomp/mso/adapters/vfc/VfcAdapterTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/adapters/mso-vfc-adapter/src/test/java/org/openecomp/mso/adapters/vfc/VfcAdapterTest.java b/adapters/mso-vfc-adapter/src/test/java/org/openecomp/mso/adapters/vfc/VfcAdapterTest.java
index f17c7215cf..4dc8fffdc6 100644
--- a/adapters/mso-vfc-adapter/src/test/java/org/openecomp/mso/adapters/vfc/VfcAdapterTest.java
+++ b/adapters/mso-vfc-adapter/src/test/java/org/openecomp/mso/adapters/vfc/VfcAdapterTest.java
@@ -103,6 +103,8 @@ public class VfcAdapterTest {
return getResponse(null);
} else if(url.contains("terminate") && methodType.equals(CommonConstant.MethodType.POST)) {
return getResponse("terminateNsRsp.json");
+ } else if(url.contains("/api/nslcm/v1/jobs") && methodType.equals(CommonConstant.MethodType.GET)) {
+ return getResponse("queryJobRsp.json");
}
else {
return null;
@@ -202,7 +204,8 @@ public class VfcAdapterTest {
@Test
public void queryJobTest() {
-
+ mockRestfulUtil(FILE_PATH + "queryJobReq.json");
+ vfcAdapter.queryNfvoJobStatus(null, "1");
}
/**