(NFC) Membership Tests - Update assertions to match behavior circa leap-day
authorTim Otten <totten@civicrm.org>
Tue, 1 Mar 2022 06:00:03 +0000 (22:00 -0800)
committerTim Otten <totten@civicrm.org>
Wed, 2 Mar 2022 04:24:10 +0000 (20:24 -0800)
commitad5d43a551029d22f8cee5274ff22a9adf2aea92
tree047e5d110b6ace0b44303325891d9f75180c3422
parent5d753c9bfec1cbf36d3e02895df9daf3d017da05
(NFC) Membership Tests - Update assertions to match behavior circa leap-day

If you run the tests on Mar 2, 2022, then some of the generated memberships
land on the leap-day in 2024.  The actual behavior is have the end-date on the
last day of the month (29 Feb 2024), but the test incorrectly asserts that
it comes before (28 Feb 2024).
tests/phpunit/CiviTest/CiviUnitTestCase.php
tests/phpunit/api/v3/ContributionPageTest.php