Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.0
-
Fix Version/s: Test suite
-
Component/s: CiviContribute
-
Labels:None
Description
As per the following request from Lobo, I'm submitting a patch to tests/phpunit/api/v2/ContributionTest.php, to test that civicrm_contribution_add() works for incremental updates:
(01:12:45 PM) dlobo: torenware
(01:12:47 PM) dlobo: how about this
(01:12:56 PM) dlobo: u fix the test case to show how badly its broken
(01:12:58 PM) dlobo: we'll fix the code
Test should be a valid test, behavior the test describes I think is reasonable, and the current implementation will fail, and fail hard
I haven't been able to test the test yet, since phpunit is segfaulting on my install. Should work, though.