Add unit test for net_amount when fee_amount is set
authoreileen <emcnaughton@wikimedia.org>
Mon, 29 Jul 2019 07:00:39 +0000 (19:00 +1200)
committereileen <emcnaughton@wikimedia.org>
Mon, 29 Jul 2019 09:43:21 +0000 (21:43 +1200)
commitc1797e865254db8a7d52ac20eb987b5b9ca3aec7
treeef2694b5610b44cd30e0891deee98b99c419c59c
parentf054ee85e931ee0393fdfc30410876fcbb2b6f05
Add unit test for net_amount when fee_amount is set

This just improves testing & ensures fee_amount is used to set net amount.

I got some odd results on financial_trxn & financial_item but just adding checks for
what I found atm
CRM/Event/Form/Registration/Confirm.php
Civi/Payment/System.php
tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php