Change test to use preferred methods, fix revealed money bug
authoreileen <emcnaughton@wikimedia.org>
Sat, 26 Oct 2019 23:56:01 +0000 (12:56 +1300)
committereileen <emcnaughton@wikimedia.org>
Sun, 27 Oct 2019 00:02:47 +0000 (13:02 +1300)
commitb4c488312cb40814c8b54c30787fb793dedbf733
tree91c479285da8bef8b29a77d25badf4968591224e
parentcb4793ed619e29fa423d4bdda0164eeb4ca23286
Change test to use preferred methods, fix revealed money bug

In switching this test over I found that Payment.create does not handle cleaning money - which it should to bring it
into line with Contribution.create api
CRM/Contribute/Form/AdditionalPayment.php
api/v3/Payment.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php