mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-25 16:23:54 +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();
|
||||
prefEdit.putString(UserPreferences.PREF_EPISODE_CACHE_SIZE, Integer.toString(EPISODE_CACHE_SIZE));
|
||||
prefEdit.putString(UserPreferences.PREF_EPISODE_CLEANUP, Integer.toString(cleanupAlgorithm));
|
||||
prefEdit.putBoolean(UserPreferences.PREF_ENABLE_AUTODL, true);
|
||||
prefEdit.commit();
|
||||
|
||||
UserPreferences.init(context);
|
||||
|
Loading…
Reference in New Issue
Block a user