Fix unit tests

pull/14/head
Tim Su 13 years ago
parent 4402461b60
commit 012649ae72

@ -42,7 +42,7 @@ public class NewRepeatTests<REMOTE_MODEL> extends DatabaseTestCase {
}
private void saveAndTriggerRepeatListener(Task task) {
Flags.set(Flags.SUPPRESS_HOOKS);
Flags.set(Flags.ACTFM_SUPPRESS_SYNC);
if(task.isSaved())
taskDao.saveExisting(task);
else

@ -52,7 +52,7 @@ public class RepeatTests extends DatabaseTestCase {
}
private void saveAndTriggerRepeatListener(Task task) {
Flags.set(Flags.SUPPRESS_HOOKS);
Flags.set(Flags.ACTFM_SUPPRESS_SYNC);
if(task.isSaved())
taskDao.saveExisting(task);
else

Loading…
Cancel
Save