Event confirm - minor cleanup + test
authoreileen <emcnaughton@wikimedia.org>
Sat, 10 Aug 2019 02:08:52 +0000 (14:08 +1200)
committereileen <emcnaughton@wikimedia.org>
Sat, 10 Aug 2019 02:08:52 +0000 (14:08 +1200)
commite579af797ad85e340a52552f6a7f43d8a710db8c
treec4101a430b7ffada7fb113bcbcb6fd1ff330f817
parent34652105d9759150aa2732c3d438d790fb364050
Event confirm - minor cleanup + test

I've just started delving into this & have
1) added a test
2) removed an assign that is  ALSO done in the sendMail function - ie participantID - this is tested
3) removed a pass-by-reference that I checked was not required
CRM/Event/BAO/Event.php
CRM/Event/Form/Registration/Confirm.php
tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php
tests/phpunit/CiviTest/CiviUnitTestCase.php