]> git.agnieray.net Git - galette.git/commitdiff
Fix reminders tests
authorJohan Cwiklinski <johan@x-tnd.be>
Sun, 31 Oct 2021 08:30:19 +0000 (09:30 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Sun, 31 Oct 2021 08:33:53 +0000 (09:33 +0100)
tests/Galette/Repository/tests/units/Reminders.php

index 2abc384bb310b59c25102e6abcebf88243d74b1a..f003669b3208c2425304d4f415ca7dfdaf1745b4 100644 (file)
@@ -137,7 +137,7 @@ class Reminders extends GaletteTestCase
         //create contribution, just about to be impending
         $now = new \DateTime();
         $date_begin = clone $now;
-        $date_begin->sub(new \DateInterval('P1Y'));
+        $date_begin->sub(new \DateInterval('P1YP1D'));
         $date_begin->add(new \DateInterval('P1M'));
         $date_end = clone $date_begin;
         $date_end->add(new \DateInterval('P1Y'));