From e51c515448cd42e4b9fe786a4b2d10b9d0a6cecf Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" Date: Fri, 30 Aug 2019 16:55:53 +0100 Subject: [PATCH] Add note about testRenewMembership failing on certain days --- tests/phpunit/CRM/Member/BAO/MembershipTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/phpunit/CRM/Member/BAO/MembershipTest.php b/tests/phpunit/CRM/Member/BAO/MembershipTest.php index cf50231bbab9..1d516932bd88 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipTest.php @@ -548,6 +548,13 @@ public function testdeleteRelatedMemberships() { /** * Renew membership with change in membership type. + * + * @fixme Note that this test fails when today is August 29 2019 (and maybe other years?): + * Verify correct end date is calculated after membership renewal + * Failed asserting that two strings are equal. + * Expected-'2021-03-01' + * Actual+'2021-02-28' + * /home/jenkins/bknix-dfl/build/core-15165-73etc/web/sites/all/modules/civicrm/tests/phpunit/CRM/Member/BAO/MembershipTest.php:609 */ public function testRenewMembership() { $contactId = $this->individualCreate();