summaryrefslogtreecommitdiff
path: root/core/src/test/java/de
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/test/java/de')
-rw-r--r--core/src/test/java/de/danoeh/antennapod/core/storage/APCleanupAlgorithmTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/test/java/de/danoeh/antennapod/core/storage/APCleanupAlgorithmTest.java b/core/src/test/java/de/danoeh/antennapod/core/storage/APCleanupAlgorithmTest.java
index dc4054af8..9f354c7c2 100644
--- a/core/src/test/java/de/danoeh/antennapod/core/storage/APCleanupAlgorithmTest.java
+++ b/core/src/test/java/de/danoeh/antennapod/core/storage/APCleanupAlgorithmTest.java
@@ -11,7 +11,7 @@ public class APCleanupAlgorithmTest {
@Test
public void testCalcMostRecentDateForDeletion() throws Exception {
- APCleanupAlgorithm algo = new APCleanupAlgorithm(1.0f);
+ APCleanupAlgorithm algo = new APCleanupAlgorithm(24);
Date curDateForTest = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ").parse("2018-11-13T14:08:56-0800");
Date resExpected = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ").parse("2018-11-12T14:08:56-0800");
Date resActual = algo.calcMostRecentDateForDeletion(curDateForTest);