dev/core#2024 extra line item issue on membership renewal
authoreileen <emcnaughton@wikimedia.org>
Thu, 22 Oct 2020 05:44:45 +0000 (18:44 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 22 Oct 2020 22:44:15 +0000 (11:44 +1300)
commit28d44c71b59ccebb6b7df93d7c85896a85224a98
treee6ec3d06682ad0c0c5cc56ecc1d528e24a517f5a
parentb5f4c7d9b4d5aa77fe1237bcc080543e3c3efff8
dev/core#2024 extra line item issue on membership renewal

This fixes a bug where a random line item is created on the renewal form if the contribution has
tax but the amount is 0
CRM/Member/Form/MembershipRenewal.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php
tests/phpunit/CRM/Contribute/Form/ContributionTest.php
tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php
tests/phpunit/CRM/Member/Form/MembershipRenewalTest.php
tests/phpunit/CRM/Member/Form/MembershipTest.php
tests/phpunit/CiviTest/CiviUnitTestCase.php
tests/phpunit/api/v3/ContributionPageTest.php
tests/phpunit/api/v3/ContributionTest.php
tests/phpunit/api/v3/LineItemTest.php