Fix test to be more valid
authoreileen <emcnaughton@wikimedia.org>
Wed, 6 Nov 2019 08:51:35 +0000 (21:51 +1300)
committereileen <emcnaughton@wikimedia.org>
Wed, 6 Nov 2019 08:51:35 +0000 (21:51 +1300)
commit8ea34be2b2f817c53afc74a6442b25fe54db05c3
tree904095998d9618a0c47e60d78803cf9866998efc
parentfe5aa2e8edaf02bda7f5733ebb2f43e3c2bf6147
Fix test to be more valid

I've added a check to run after tests & before tearDown to ensure that all payments have the
right entity_financial_trxn records.

This required fixing one ttest to be valid. It's not possible to create a contribution using the
back office for with status set to Partially Paid (it's not an option in the drop down, so
the test should create as Pending & then add a payment to get to partially paid
tests/phpunit/CRM/Contribute/Form/ContributionTest.php
tests/phpunit/api/v3/ContributionPageTest.php