CRM-17647 test fixes towards ensuring we never rely on the BAO to clean money.
authoreileen <emcnaughton@wikimedia.org>
Thu, 18 Jan 2018 06:58:05 +0000 (19:58 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 18 Jan 2018 06:58:05 +0000 (19:58 +1300)
commitd0c977751ff454a59351a892b612f28819aeb7cf
tree47f4cef660d3686d6ad562c8c289756ecf9a6873
parent5034e5895ec3dfeb3e4b45dd0d0c53467d2c6234
CRM-17647 test fixes towards ensuring we never rely on the BAO to clean money.

We need to deprecate out BAO cleaning of money. Test fixes ensure we use the (safe) api rather than BAO::create - no functional change
CRM/Contribute/BAO/Contribution.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php
tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php