-
- Downloads
Add test for participant receipts, super minor consistency fix.
This is mostly adding testing for participant receipts. The one change to core code is to move the assignment of contactID to the template from a specific path into the shared code. This parameter is not required by the templates but it is somewhat common for sites to want to have it assigned to templates for customisation which is presumably why it's there. Since it is there in one path we should either remove or have it in all & for a field like contactID all makes sense. Tests lock in that var
Showing
- CRM/Event/BAO/Event.php 1 addition, 0 deletionsCRM/Event/BAO/Event.php
- CRM/Event/Form/Registration/Confirm.php 0 additions, 1 deletionCRM/Event/Form/Registration/Confirm.php
- tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php 17 additions, 2 deletionstests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php
- tests/phpunit/CiviTest/CiviUnitTestCase.php 9 additions, 7 deletionstests/phpunit/CiviTest/CiviUnitTestCase.php
- tests/templates/message_templates/event_online_receipt_text.tpl 73 additions, 0 deletions...templates/message_templates/event_online_receipt_text.tpl
Loading
Please register or sign in to comment