Actions
Anomalie #1796
ouvertTests failure on leap year
Début:
01/03/2024
Echéance:
% réalisé:
0%
Temps estimé:
Version utilisée:
Vote:
Description
Today, unit test has failed because of the 29th of february:
There were 2 failures: 1) Galette\Entity\test\units\Contribution::testNextYear Failed asserting that two strings are identical. --- Expected +++ Actual @@ @@ -'2024-02-28' +'2024-02-29' /home/runner/work/galette/galette/tests/Galette/Entity/tests/units/Contribution.php:740 2) Galette\Entity\test\units\Contribution::testNextYearFrom096 Failed asserting that Array &0 [ 0 => '- Membership period overlaps period starting at 2023-03-01', ] is true. /home/runner/work/galette/galette/tests/Galette/Entity/tests/units/Contribution.php:801
Actions