Make getTemplateContribution match is_test
authorAidan Saunders <aidan.saunders@squiffle.uk>
Wed, 9 Oct 2019 08:28:16 +0000 (09:28 +0100)
committerAidan Saunders <aidan.saunders@squiffle.uk>
Wed, 9 Oct 2019 08:28:16 +0000 (09:28 +0100)
commit0b2f1f291501520a3d53f24d2af2f35eeb279ee1
treea11827b2ab693732446e143fa39db9be96469fb2
parente6e237285abc928b571bf46611c22314b4d407b9
Make getTemplateContribution match is_test
- non-test recurs should only pick up non-test templates
- test recurs should only pick up test templates
Add test
CRM/Contribute/BAO/ContributionRecur.php
tests/phpunit/CRM/Contribute/BAO/ContributionRecurTest.php