[REF] start process of cleaning up payment activity handling
authoreileen <emcnaughton@wikimedia.org>
Sat, 4 May 2019 05:16:36 +0000 (17:16 +1200)
committereileen <emcnaughton@wikimedia.org>
Sat, 4 May 2019 23:20:56 +0000 (11:20 +1200)
commitf6044c2b87a8cbde5fafa44f6f437eb57c6db72f
treecb128348ad3cd5ba1f386e73c8abb25eaa71b89f
parent01aa4b6d759ee53d67144ae8cadb3e30f797003b
[REF] start process of cleaning up payment activity handling

At the moment activities are created when using the additional payment form but not the UI.
This needs cleaning up & this takes the first step by adding testing & slightly
simplifying where decisions are made about variables (assign title directly rather than component
just to assign title deeper down
CRM/Contribute/BAO/Contribution.php
tests/phpunit/CRM/Contribute/Form/AdditionalPaymentTest.php