Change in ovirt-engine[master]: restapi: fix lack of errorTranslator mock
mpastern at redhat.com
mpastern at redhat.com
Sun Jul 21 14:30:43 UTC 2013
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 at 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 at redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list