
Moti Asayag has submitted this change and it was merged. Change subject: engine: Use 'doReturn' instead of 'when' in RefreshGlusterHooksCommandTest ...................................................................... engine: Use 'doReturn' instead of 'when' in RefreshGlusterHooksCommandTest Using when on a spied object causes the real method to be called. Change-Id: Icd740d3d9ca5532e22754cd7211c16ecbfa6739a Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com> --- M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/gluster/RefreshGlusterHooksCommandTest.java 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Sahina Bose: Looks good to me, approved Moti Asayag: Looks good to me, but someone else must approve; Passed CI tests Yevgeny Zaspitsky: Verified -- To view, visit https://gerrit.ovirt.org/64949 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Icd740d3d9ca5532e22754cd7211c16ecbfa6739a Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yevgeny Zaspitsky <yzaspits@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Moti Asayag <masayag@redhat.com> Gerrit-Reviewer: Sahina Bose <sabose@redhat.com> Gerrit-Reviewer: Yevgeny Zaspitsky <yzaspits@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>