Fixed unit test compilation bugs

pull/14/head
Sam Bosley 12 years ago
parent a24596a3e2
commit 9e09eb463c

@ -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() {

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

Loading…
Cancel
Save