aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/java/com/juick/JsonTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/juick/JsonTests.java b/src/test/java/com/juick/JsonTests.java
index 5d78a2d6..890360c1 100644
--- a/src/test/java/com/juick/JsonTests.java
+++ b/src/test/java/com/juick/JsonTests.java
@@ -18,10 +18,10 @@ public class JsonTests {
Message msg = new Message();
SimpleDateFormat df= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
try {
- msg.setDate(df.parse("2015-01-01 00:00:00"));
+ msg.setDate(df.parse("2015-01-01 05:02:10"));
MessageSerializer serializer = new MessageSerializer();
String json = serializer.serialize(msg).toString();
- assertEquals("{\"timestamp\":\"2015-01-01 00:00:00\"}", json);
+ assertEquals("{\"timestamp\":\"2015-01-01 05:02:10\"}", json);
} catch (ParseException e) {
e.printStackTrace();
}