Update query vnfm from ESR interface
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / test / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / aai / impl / AaiMgmrInfImplTest.java
index 3a2ca76..01c256b 100644 (file)
@@ -56,7 +56,7 @@ public class AaiMgmrInfImplTest {
                                + "\"vim-id\":\"vim-id_001\","
                                + "\"certificate-url\":\"certificate-url_001\","
                                + "\"resource-version\":\"resource-version_001\","
-                               + "\"esr-system-info-list\":[{\"ip-address\" : \"1.3.5.6\"}]"
+                               + "\"esr-system-info\":[{\"type\" : \"vnfm\"}]"
                                + "}"
                                + "";
                HttpResult httpResult = new HttpResult();
@@ -69,6 +69,6 @@ public class AaiMgmrInfImplTest {
        public void testQueryVnfPackage() throws ClientProtocolException, IOException
        {
                AaiVnfmInfo vnfmInfo = aaiMgmr.queryVnfm(vnfmId);
-               Assert.assertEquals("1.3.5.6", vnfmInfo.getEsrSystemInfoList().get(0).getIp());
+               Assert.assertEquals("vnfm", vnfmInfo.getEsrSystemInfoList().get(0).getType());
        }
 }