Moti Asayag has uploaded a new change for review. Change subject: engine: Fix broken test in CommandBaseTest ......................................................................
engine: Fix broken test in CommandBaseTest Commit c54eba57ddc56c7bd7c6ff1d10360ac6dd145803 introduced the a change which cause the CommandBaseTest to fail. Change-Id: Idf63bf15ba6f7f1737213d8799ba8fe198190e1a Signed-off-by: Moti Asayag <masa...@redhat.com> --- M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/CommandBaseTest.java 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/59/28259/1 diff --git a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/CommandBaseTest.java b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/CommandBaseTest.java index 6b820e7..78919a7 100644 --- a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/CommandBaseTest.java +++ b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/CommandBaseTest.java @@ -201,6 +201,7 @@ command.logRenamedEntity(); when(command.getEntityOldName()).thenReturn("foo"); when(command.getEntityNewName()).thenReturn("bar"); + when(command.getCurrentUser()).thenReturn(mock(DbUser.class)); command.logRenamedEntity(); when(command.getEntityOldName()).thenReturn(null); when(command.getEntityNewName()).thenReturn("bar"); -- To view, visit http://gerrit.ovirt.org/28259 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idf63bf15ba6f7f1737213d8799ba8fe198190e1a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Moti Asayag <masa...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches