From 9e09eb463c28ef31784c38f59e54e1488cc699aa Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Fri, 15 Mar 2013 16:19:06 -0700 Subject: [PATCH] Fixed unit test compilation bugs --- tests/src/com/todoroo/astrid/dao/DatabaseDaoTests.java | 2 +- tests/src/com/todoroo/astrid/sync/NewSyncTestCase.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/com/todoroo/astrid/dao/DatabaseDaoTests.java b/tests/src/com/todoroo/astrid/dao/DatabaseDaoTests.java index b46be1911..9f99af442 100644 --- a/tests/src/com/todoroo/astrid/dao/DatabaseDaoTests.java +++ b/tests/src/com/todoroo/astrid/dao/DatabaseDaoTests.java @@ -16,7 +16,7 @@ public class DatabaseDaoTests extends DatabaseTestCase { @Override protected void setUp() throws Exception { super.setUp(); - RemoteModelDao.outstandingEntryFlag = 1; + RemoteModelDao.setOutstandingEntryFlags(RemoteModelDao.OUTSTANDING_ENTRY_FLAG_RECORD_OUTSTANDING); } public void testFailedTransactionCreatesNoRows() { diff --git a/tests/src/com/todoroo/astrid/sync/NewSyncTestCase.java b/tests/src/com/todoroo/astrid/sync/NewSyncTestCase.java index f818b6576..9527509ec 100644 --- a/tests/src/com/todoroo/astrid/sync/NewSyncTestCase.java +++ b/tests/src/com/todoroo/astrid/sync/NewSyncTestCase.java @@ -29,7 +29,7 @@ public class NewSyncTestCase extends DatabaseTestCase { @Override protected void setUp() throws Exception { super.setUp(); - RemoteModelDao.outstandingEntryFlag = 1; + RemoteModelDao.setOutstandingEntryFlags(RemoteModelDao.OUTSTANDING_ENTRY_FLAG_RECORD_OUTSTANDING); } protected Task createTask(String title, boolean suppress) {