Fix test compile

pull/384/head
Alex Baker 9 years ago
parent 3610705a8a
commit 126b129c54

@ -19,7 +19,7 @@ public class AlarmManagerTests extends AndroidTestCase {
@Override
public void setUp() {
preferences = new Preferences(getContext(), null, null);
preferences = new Preferences(getContext(), null);
preferences.clear();
preferences.setBoolean(R.string.p_rmd_enable_quiet, true);
alarmManager = new AlarmManager(getContext(), preferences);

@ -29,7 +29,7 @@ public class GtasksMetadataServiceTest extends DatabaseTestCase {
private final GtasksTestPreferenceService service;
public GtasksMetadataServiceTestModule(Context context) {
service = new GtasksTestPreferenceService(context, new Preferences(context, null, null), null);
service = new GtasksTestPreferenceService(context, new Preferences(context, null), null);
}
@Provides

Loading…
Cancel
Save