Re-fix test to work with new check
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 24 Aug 2021 01:30:10 +0000 (13:30 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 24 Aug 2021 01:40:41 +0000 (13:40 +1200)
commit77136dc6d4216211998729cea305d81868309809
tree578a207ee87c582c79e4fd0a3ac4e9497fd41130
parent061fd2be1213e7d8a58a6de0a25623f6f1ce0855
Re-fix test to work with new check

A new check was enabled for this test recently and it passed because we
were doing recalculation - but that recalculation was not always right
and there is no expectation that passing in the wrong total_amount
is OK so this fixes total_amount to be equal to the
sum of the line items - which is what is checked
tests/phpunit/api/v3/ContributionTest.php