Update ContributionMainTest to use full form flow
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 27 Jul 2023 23:14:02 +0000 (11:14 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 27 Jul 2023 23:21:45 +0000 (11:21 +1200)
commitde72e40b1999f9c4193fe14c3e97210cfba7b16b
tree7a57448341c5bdfa76585447964eb167fe6d744e
parentbfdeab6b67f1658ab42fddd8446610f3e7708a7e
Update ContributionMainTest to use full form flow

This updates the test to use postProcess and to check is_recur is passed to the
preApprove function rather than proxy that check by checking if is_recur
is set in the _params property (which is not used again after the preApprove
CRM/Contribute/Form/Contribution/Main.php
CRM/Core/Payment/Dummy.php
tests/phpunit/CRM/Contribute/Form/Contribution/MainTest.php
tests/phpunit/CiviTest/CiviUnitTestCase.php