Add note about testRenewMembership failing on certain days
authorMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Fri, 30 Aug 2019 15:55:53 +0000 (16:55 +0100)
committerMatthew Wire (MJW Consulting) <mjw@mjwconsult.co.uk>
Fri, 30 Aug 2019 17:10:32 +0000 (18:10 +0100)
tests/phpunit/CRM/Member/BAO/MembershipTest.php

index cf50231bbab9bd8c59bdc0386d69500df7c38821..1d516932bd88ece0b495557a7bad6ea74b0e9f5d 100644 (file)
@@ -548,6 +548,13 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase {
 
   /**
    * 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();