Set the outstanding entry flag in the new sync tests so that they still work

pull/14/head
Sam Bosley 12 years ago
parent f770046989
commit ebe269b117

@ -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);

Loading…
Cancel
Save