Skip to content
Snippets Groups Projects
Unverified Commit 1b6e7995 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #15531 from eileenmcnaughton/silly_template

Remove extraneous full stop, line
parents bca89cef 220bfdc3
Branches
Tags
No related merge requests found
......@@ -100,6 +100,7 @@ class CRM_Event_Form_Registration_ConfirmTest extends CiviUnitTestCase {
*/
public function testPaidSubmit($thousandSeparator) {
$this->setCurrencySeparators($thousandSeparator);
$mut = new CiviMailUtils($this);
$paymentProcessorID = $this->processorCreate();
/* @var \CRM_Core_Payment_Dummy $processor */
$processor = Civi\Payment\System::singleton()->getById($paymentProcessorID);
......@@ -136,15 +137,12 @@ class CRM_Event_Form_Registration_ConfirmTest extends CiviUnitTestCase {
'billing_state_province_id-5' => '1061',
'billing_postal_code-5' => '7',
'billing_country_id-5' => '1228',
'scriptFee' => '',
'scriptArray' => '',
'priceSetId' => '6',
'price_7' => [
13 => 1,
],
'payment_processor_id' => $paymentProcessorID,
'bypass_payment' => '',
'MAX_FILE_SIZE' => '33554432',
'is_primary' => 1,
'is_pay_later' => 0,
'campaign_id' => NULL,
......@@ -209,6 +207,11 @@ class CRM_Event_Form_Registration_ConfirmTest extends CiviUnitTestCase {
'financial_trxn_id' => $financialTrxn['id'] + 1,
'amount' => '1.67',
], $entityFinancialTrxns[2], ['id', 'entity_id']);
$mut->checkMailLog([
'Event Information and Location', 'Registration Confirmation - Annual CiviCRM meet',
'This letter is a confirmation that your registration has been received and your status has been updated to <strong> Registered</strong>',
]);
$mut->clearMessages();
}
/**
......
......@@ -33,7 +33,7 @@
{else}
<p>{ts}Thank you for your participation.{/ts}
{if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}
{else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}.</p>
{else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>
{/if}
......
......@@ -6,8 +6,7 @@
{ts}Thank you for your participation.{/ts}
{if $participant_status}{ts 1=$participant_status}This letter is a confirmation that your registration has been received and your status has been updated to %1.{/ts}
{else}{if $isOnWaitlist}{ts}This letter is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This letter is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}
{/if}.
{/if}
{/if}
{if $isOnWaitlist}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment