Michael Pasternak has submitted this change and it was merged. Change subject: restapi: fix lack of errorTranslator mock ......................................................................
restapi: fix lack of errorTranslator mock Fix in REST test infrastucture the lack of mocking for error translator in setupCreationExpectations method. Before the fix, passing to this method cando=false or execute=false caused NullPointerException during the test execution because the error translator was not mocked. Change-Id: Ibc315c1baf2e85005bde7b637e9fff870ef66aa4 Signed-off-by: Alissa Bonas <abo...@redhat.com> --- M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/AbstractBackendCollectionResourceTest.java 1 file changed, 2 insertions(+), 0 deletions(-) Approvals: Michael Pasternak: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/17003 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ibc315c1baf2e85005bde7b637e9fff870ef66aa4 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alissa Bonas <abo...@redhat.com> Gerrit-Reviewer: Alissa Bonas <abo...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com> Gerrit-Reviewer: Ori Liel <ol...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches