Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(NFC) Membership Tests - Update assertions to match behavior circa leap-day #22871

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

totten
Copy link
Member

@totten totten commented Mar 2, 2022

Backport #22860 to 5.47-rc

…ap-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).
@civibot
Copy link

civibot bot commented Mar 2, 2022

(Standard links)

@civibot civibot bot added the 5.47 label Mar 2, 2022
@totten totten merged commit fc19ddf into civicrm:5.47 Mar 2, 2022
@totten totten deleted the 5.47-mem-date-test branch March 2, 2022 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant