mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-26 08:44:13 +01:00
Merge pull request #3655 from ByteHamster/fix-tests2
Fixed db cleanup tests
This commit is contained in:
commit
2173f6212e
@ -82,6 +82,7 @@ public class DBCleanupTests {
|
|||||||
SharedPreferences.Editor prefEdit = PreferenceManager.getDefaultSharedPreferences(context.getApplicationContext()).edit();
|
SharedPreferences.Editor prefEdit = PreferenceManager.getDefaultSharedPreferences(context.getApplicationContext()).edit();
|
||||||
prefEdit.putString(UserPreferences.PREF_EPISODE_CACHE_SIZE, Integer.toString(EPISODE_CACHE_SIZE));
|
prefEdit.putString(UserPreferences.PREF_EPISODE_CACHE_SIZE, Integer.toString(EPISODE_CACHE_SIZE));
|
||||||
prefEdit.putString(UserPreferences.PREF_EPISODE_CLEANUP, Integer.toString(cleanupAlgorithm));
|
prefEdit.putString(UserPreferences.PREF_EPISODE_CLEANUP, Integer.toString(cleanupAlgorithm));
|
||||||
|
prefEdit.putBoolean(UserPreferences.PREF_ENABLE_AUTODL, true);
|
||||||
prefEdit.commit();
|
prefEdit.commit();
|
||||||
|
|
||||||
UserPreferences.init(context);
|
UserPreferences.init(context);
|
||||||
|
Loading…
Reference in New Issue
Block a user