Martin Peřina has uploaded a new change for review.

Change subject: core: Use version 3.0 instead of 2.2 in 
GetCommandsCompatibilityVersionsQueryTest
......................................................................

core: Use version 3.0 instead of 2.2 in 
GetCommandsCompatibilityVersionsQueryTest

Uses version 3.0 instead of 2.2 for testing minimal compatibility
version in GetCommandsCompatibilityVersionsQueryTest.

Change-Id: I8b0236bf3ca6360d3fa483df9f23e5a1fe37457d
Bug-Url: https://bugzilla.redhat.com/1127590
Signed-off-by: Martin Perina <mper...@redhat.com>
---
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetCommandsCompatibilityVersionsQueryTest.java
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/28/32428/1

diff --git 
a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetCommandsCompatibilityVersionsQueryTest.java
 
b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetCommandsCompatibilityVersionsQueryTest.java
index 374f09c..e378fef 100644
--- 
a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetCommandsCompatibilityVersionsQueryTest.java
+++ 
b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetCommandsCompatibilityVersionsQueryTest.java
@@ -1,5 +1,7 @@
 package org.ovirt.engine.core.bll;
 
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
 import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
@@ -18,14 +20,12 @@
 import org.ovirt.engine.core.compat.Version;
 import org.ovirt.engine.core.dal.dbbroker.DbFacade;
 import org.ovirt.engine.core.dao.ActionGroupDAO;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertEquals;
 
 
 public class GetCommandsCompatibilityVersionsQueryTest extends 
AbstractUserQueryTest<VdcQueryParametersBase, 
GetCommandsCompatibilityVersionsQuery<VdcQueryParametersBase>> {
 
     private ActionGroupDAO actionGroupDaoMock;
-    private static final Version RUN_VM_VERSION = Version.v2_2;
+    private static final Version RUN_VM_VERSION = Version.v3_0;
     private static final Version ADD_VM_FROM_SNAPSHOT_VERSION = Version.v3_1;
 
     @Before


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8b0236bf3ca6360d3fa483df9f23e5a1fe37457d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Martin Peřina <mper...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to