Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.0, 2.2.1
-
Fix Version/s: 2.2.2
-
Component/s: CiviCRM API
-
Labels:None
Description
Assertion fails in testGetValues at line 114 because two memberships are created with hard-coded dates which have long since passed. When the membership status is retrieved, oops one membership has expired so the test eats it.
The fix is to generate membership dates based on the output of time(). Patch to do this is attached.