diff --git a/test/org/jivesoftware/smackx/VCardTest.java b/test/org/jivesoftware/smackx/VCardTest.java index d3d011abe..0854d7fc0 100644 --- a/test/org/jivesoftware/smackx/VCardTest.java +++ b/test/org/jivesoftware/smackx/VCardTest.java @@ -48,7 +48,9 @@ public class VCardTest extends SmackTestCase { fail(e.getMessage()); } - assertEquals("Should load own VCard successfully", origVCard.toString(), loaded.toString()); + //assertEquals("Should load own VCard successfully", origVCard.toString(), loaded.toString()); + assertEquals("Should load own VCard successfully", origVCard, loaded); + loaded = new VCard(); try { @@ -58,7 +60,9 @@ public class VCardTest extends SmackTestCase { fail(e.getMessage()); } - assertEquals("Should load another user's VCard successfully", origVCard.toString(), loaded.toString()); + //assertEquals("Should load another user's VCard successfully", origVCard.toString(), loaded.toString()); + assertEquals("Should load another user's VCard successfully", origVCard, loaded); + } public void testNoWorkHomeSpecifier_EMAIL() throws Throwable {