CRM-20008 fix pending flow.
authoreileen <emcnaughton@wikimedia.org>
Wed, 22 Mar 2017 12:13:15 +0000 (01:13 +1300)
committereileen <emcnaughton@wikimedia.org>
Wed, 22 Mar 2017 12:29:42 +0000 (01:29 +1300)
commitee63135d34d507beaf988f2fd311f07daebdd10c
treebecfafa77a542420ca269912751c1e76103b46e4
parent4f40e41e775ac27b13b70f67a220693d28f45087
CRM-20008 fix pending flow.

This adds a test written by Peter Hartmann for repeattransaction with pending status.

I altered is a little, working on the assumption the flow should be
- create pending, leave status unchanged
- complete pending, updte status & advance end date
CRM/Contribute/BAO/Contribution.php
tests/phpunit/api/v3/ContributionTest.php