Skip to content
Snippets Groups Projects
Unverified Commit a70b9fa6 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #21037 from eileenmcnaughton/act_source

Fix advertised token for source
parents 2cd5e297 57ffb5b3
Branches
Tags
No related merge requests found
......@@ -582,7 +582,7 @@ class CRM_Core_SelectValues {
'{contribution.cancel_reason}' => ts('Contribution Cancel Reason'),
'{contribution.receipt_date}' => ts('Receipt Date'),
'{contribution.thankyou_date}' => ts('Thank You Date'),
'{contribution.contribution_source}' => ts('Contribution Source'),
'{contribution.source}' => ts('Contribution Source'),
'{contribution.amount_level}' => ts('Amount Level'),
'{contribution.check_number}' => ts('Check Number'),
'{contribution.campaign}' => ts('Contribution Campaign'),
......
......@@ -270,6 +270,7 @@ class CRM_Contribute_ActionMapping_ByTypeTest extends \Civi\ActionSchedule\Abstr
contribution_id {contribution.contribution_id} - not valid for action schedule
cancel date {contribution.cancel_date}
source {contribution.source}
legacy source {contribution.contribution_source}
financial type id = {contribution.financial_type_id}
financial type name = {contribution.financial_type_id:name}
financial type label = {contribution.financial_type_id:label}
......@@ -321,6 +322,8 @@ class CRM_Contribute_ActionMapping_ByTypeTest extends \Civi\ActionSchedule\Abstr
'payment instrument id = 4',
'payment instrument name = Check',
'payment instrument label = Check',
'legacy source SSF',
'source SSF',
];
foreach ($expected as $string) {
$this->assertStringContainsString($string, $contributionDetails[$this->contacts['alice']['id']]['html']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment