From ebe269b117ab528e4cd8618bb603ff6c7210251b Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Thu, 28 Feb 2013 17:14:41 -0800 Subject: [PATCH] Set the outstanding entry flag in the new sync tests so that they still work --- .../src/com/todoroo/astrid/sync/NewSyncTestCase.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests-sync/src/com/todoroo/astrid/sync/NewSyncTestCase.java b/tests-sync/src/com/todoroo/astrid/sync/NewSyncTestCase.java index c12a0f174..78b501f38 100644 --- a/tests-sync/src/com/todoroo/astrid/sync/NewSyncTestCase.java +++ b/tests-sync/src/com/todoroo/astrid/sync/NewSyncTestCase.java @@ -1,6 +1,7 @@ package com.todoroo.astrid.sync; import com.todoroo.andlib.service.Autowired; +import com.todoroo.astrid.dao.RemoteModelDao; import com.todoroo.astrid.dao.TagDataDao; import com.todoroo.astrid.dao.TagOutstandingDao; import com.todoroo.astrid.dao.TaskDao; @@ -22,6 +23,12 @@ public class NewSyncTestCase extends DatabaseTestCase { protected TagOutstandingDao tagOutstandingDao; + @Override + protected void setUp() throws Exception { + super.setUp(); + RemoteModelDao.outstandingEntryFlag = 1; + } + protected Task createTask(String title, boolean suppress) { Task task = new Task(); task.setValue(Task.TITLE, title);