Kanagaraj M has uploaded a new change for review.

Change subject: engine: removing redundant assertEquals from VdsDaoTest
......................................................................

engine: removing redundant assertEquals from VdsDaoTest

Checking whether a permitted user got the record is enough,
and no need to check for the equality of the objects.

Change-Id: I72c98a77c647a7964c83909f2328c698ad066fdf
Signed-off-by: Kanagaraj M <[email protected]>
---
M 
backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VdsDAOTest.java
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/59/15659/1

diff --git 
a/backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VdsDAOTest.java
 
b/backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VdsDAOTest.java
index 0a8f151..2441bfd 100644
--- 
a/backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VdsDAOTest.java
+++ 
b/backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VdsDAOTest.java
@@ -99,7 +99,6 @@
      */
     private void assertCorrectGetResult(VDS result) {
         assertNotNull(result);
-        assertEquals(existingVds, result);
     }
 
     /**


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

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

Reply via email to