Fix test to use valid financials
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 20 Jun 2021 02:50:21 +0000 (14:50 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 20 Jun 2021 02:50:21 +0000 (14:50 +1200)
commita33b79a258a65c6bdea68607397de2da01cf2b63
treef775a47935ea73f644b7c35f9fcee87f2b70dc5b
parent93aadf0f857199c7cf5e0cf69321bd5561769f1a
Fix test to use valid financials

The test tries to mimic a change in line items by just deleting the line items from a valid order. This
fix switches to deleting the contribution and creating a new one with valid line items -
which is what we would expect the code to do
tests/phpunit/CRM/Contribute/BAO/ContributionRecurTest.php