From 490e81649281462d2468a4e2cb82ae1104b9b21f Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 6 Mar 2013 16:02:27 -0800 Subject: [PATCH] Fixed a compiler error in unit test --- tests-sync/src/com/todoroo/astrid/sync/SyncMessageTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests-sync/src/com/todoroo/astrid/sync/SyncMessageTest.java b/tests-sync/src/com/todoroo/astrid/sync/SyncMessageTest.java index 583effdab..4d3a12799 100644 --- a/tests-sync/src/com/todoroo/astrid/sync/SyncMessageTest.java +++ b/tests-sync/src/com/todoroo/astrid/sync/SyncMessageTest.java @@ -22,7 +22,7 @@ public class SyncMessageTest extends NewSyncTestCase { Task t = createTask(); try { ChangesHappened changes = ChangesHappened.instantiateChangesHappened(t.getId(), ModelType.TYPE_TASK); - assertNotNull(changes.serializeToJSON()); + assertNotNull(changes.serializeToJSON(null)); assertTrue(changes.getChanges().size() > 0); assertFalse(RemoteModel.NO_UUID.equals(changes.getUUID())); assertEquals(t.getValue(Task.UUID), changes.getUUID());