Add unit test for payment email from AdditionalPayment form, rationalise some paramet...
authoreileen <emcnaughton@wikimedia.org>
Tue, 15 Jan 2019 05:44:19 +0000 (18:44 +1300)
committereileen <emcnaughton@wikimedia.org>
Tue, 15 Jan 2019 05:48:40 +0000 (18:48 +1300)
commitecddfe70946c316ec909fda5694e74c5cf8dae29
treebe271f72f3f617a14eec221ca3bef7a65a79f25b
parentf72d5f517aa32e3c972daaa7451706d5ac6f1e4b
Add unit test for payment email from AdditionalPayment form, rationalise some parameters to do this.

Note that the goal is to move this function off this class to somewhere api accessible so breaking the connections
with the form makes sense & in fact some like the fromEmails handling are really just badly copied & pasted from elsewhere
(ie. the fromEmailIds doesn't exist & is created on the fly to house the email being passed in
CRM/Contribute/Form/AdditionalPayment.php
tests/phpunit/CRM/Contribute/Form/AdditionalPaymentTest.php