Alona Kaplan has uploaded a new change for review. Change subject: restapi: add GetGuestAgentQueryExpectations to the missed tests ......................................................................
restapi: add GetGuestAgentQueryExpectations to the missed tests setGetGuestAgentQueryExpectations was missing in some of the new tests. Change-Id: I7556528a2cd1cc85c550dc9418a97335f2b90633 Signed-off-by: Alona Kaplan <alkap...@redhat.com> --- M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResourceTest.java 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/31/10531/1 diff --git a/backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResourceTest.java b/backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResourceTest.java index 97510b3..bf11cf7 100644 --- a/backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResourceTest.java +++ b/backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResourceTest.java @@ -224,6 +224,7 @@ public void testUpdateWithNoNetwork() throws Exception { VmNetworkInterface entity = getEntity(1, null); setUpGetEntityExpectations(3, entity); + setGetGuestAgentQueryExpectations(2); setUriInfo(setUpActionExpectations(VdcActionType.UpdateVmInterface, AddVmInterfaceParameters.class, @@ -387,6 +388,7 @@ setUpGetEntityExpectations(4); setGetVmQueryExpectations(4); setGetNetworksQueryExpectations(4); + setGetGuestAgentQueryExpectations(3); setUriInfo(setUpActionExpectations(VdcActionType.UpdateVmInterface, AddVmInterfaceParameters.class, new String[] { "VmId", "Interface.Id" }, @@ -401,6 +403,7 @@ setUpGetEntityExpectations(4); setGetVmQueryExpectations(4); setGetNetworksQueryExpectations(4); + setGetGuestAgentQueryExpectations(3); setUriInfo(setUpActionExpectations(VdcActionType.UpdateVmInterface, AddVmInterfaceParameters.class, new String[] { "VmId", "Interface.Id" }, -- To view, visit http://gerrit.ovirt.org/10531 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7556528a2cd1cc85c550dc9418a97335f2b90633 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alona Kaplan <alkap...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches