Test fix up for AdditionalPaymentTest
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 7 Jun 2021 02:04:10 +0000 (14:04 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 7 Jun 2021 02:04:33 +0000 (14:04 +1200)
commit53295c62f1fd21eb62e770b09d567d7bddcfdb5c
tree2f213cddd1c6ebc262b308d775d1adefb459f13f
parent8f630a428fb46e956f4fa13d964ae82fb09fc863
Test fix up for AdditionalPaymentTest

This addresses a poor set up issue where the membership + contribution was being
set up incorrectly &  hence the line items were wrong, along with the ability
to validate the financials. It was blocking https://github.com/civicrm/civicrm-core/pull/20495
along with the efforts to get financial validation on all tests
tests/phpunit/CRM/Contribute/Form/AdditionalPaymentTest.php
tests/phpunit/CRM/Member/Form/MembershipTest.php
tests/phpunit/CRMTraits/Financial/OrderTrait.php
tests/phpunit/api/v3/ContributionTest.php
tests/phpunit/api/v3/MembershipTest.php