Fix Invoice class to not call validateData
authoreileen <emcnaughton@wikimedia.org>
Sat, 5 Sep 2020 03:07:31 +0000 (15:07 +1200)
committereileen <emcnaughton@wikimedia.org>
Sat, 5 Sep 2020 03:26:51 +0000 (15:26 +1200)
commite6f479ea3f0ca3425c3c6b1e99cfabac34d4f15a
treea17aa00ecfc5cfe5868d6a201efe03231614843b
parent30bd3f91efc7f6990f956efcef35e10e38e8380c
Fix Invoice class to not call validateData

This avoids calling the BaseIPN validateData class from Invoice.php and calls the narrower
loadRelatedObjects to avoid having to change the code around it
CRM/Contribute/Form/Task/Invoice.php
tests/phpunit/CRM/Contribute/Form/Task/InvoiceTest.php