]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fixes the test for expiration
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Wed, 8 Feb 2023 17:47:56 +0000 (09:47 -0800)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Wed, 8 Feb 2023 17:47:56 +0000 (09:47 -0800)
src/paperless/tests/test_settings.py

index a85f0e06ae8dbf4eba04da3290863684c8b7cabd..44ca46ec4a5742c7bddfb8a3c3402e1313af58aa 100644 (file)
@@ -152,7 +152,7 @@ class TestCeleryScheduleParsing(TestCase):
     MAIL_EXPIRE_TIME = 9.0 * 60.0
     CLASSIFIER_EXPIRE_TIME = 59.0 * 60.0
     INDEX_EXPIRE_TIME = 23.0 * 60.0 * 60.0
-    SANITY_EXPIRE_TIME = 7.0 * 23.0 * 60.0 * 60.0
+    SANITY_EXPIRE_TIME = ((7.0 * 24.0) - 1.0) * 60.0 * 60.0
 
     def test_schedule_configuration_default(self):
         """