Roy Golan has uploaded a new change for review.

Change subject: core: fixed failed AddDiskToVmCommandTest
......................................................................

core: fixed failed AddDiskToVmCommandTest

Change-Id: If1bf228785564ac0a6cf913e8afbf28d137ede6f
Signed-off-by: Roy Golan <[email protected]>
---
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddDiskToVmCommandTest.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/01/16001/1

diff --git 
a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddDiskToVmCommandTest.java
 
b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddDiskToVmCommandTest.java
index 83e3482..80cc5b2 100644
--- 
a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddDiskToVmCommandTest.java
+++ 
b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddDiskToVmCommandTest.java
@@ -629,7 +629,7 @@
         vm.setVdsGroupCompatibilityVersion(Version.v3_3);
 
         //  mock osrepo
-        SimpleDependecyInjector.getInstance().bind(osRepository);
+        SimpleDependecyInjector.getInstance().bind(OsRepository.class, 
osRepository);
         HashMap<Integer, String> uniqueOsNames = new HashMap<Integer, 
String>();
         uniqueOsNames.put(7, "RHEL5");
         when(osRepository.getUniqueOsNames()).thenReturn(uniqueOsNames);


-- 
To view, visit http://gerrit.ovirt.org/16001
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If1bf228785564ac0a6cf913e8afbf28d137ede6f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to