Change in ovirt-engine[master]: restapi: fix lack of errorTranslator mock

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 <abonas@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 <abonas@redhat.com> Gerrit-Reviewer: Alissa Bonas <abonas@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpastern@redhat.com> Gerrit-Reviewer: Ori Liel <oliel@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
mpastern@redhat.com