Test fails on Birthday Card

Issue #40 closed
Dan Devine created an issue

Not sure why this is happening..
I'm getting a test failure on the Birthday Card extension test for the 0.6 Snapshot.

marshalBirthDayVCard(rocks.xmpp.extensions.vcard.temp.VCardTest) Time elapsed: 0.008 sec <<< FAILURE! java.lang.AssertionError: expected [<vCard xmlns="vcard-temp" version="3.0"><BDAY>2004-03-20Z</BDAY></vCard>] but found [<vCard xmlns="vcard-temp" version="3.0"><BDAY>2004-03-19Z</BDAY></vCard>] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertEquals(Assert.java:123) at org.testng.Assert.assertEquals(Assert.java:176) at org.testng.Assert.assertEquals(Assert.java:186) at rocks.xmpp.extensions.vcard.temp.VCardTest.marshalBirthDayVCard(VCardTest.java:173)

Off by an hour, so I've gotta assume there's some interaction with my time zone? Anyone else see this?

Thanks in advance.

Comments (3)

  1. Log in to comment