Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
a70b9fa6
Unverified
Commit
a70b9fa6
authored
3 years ago
by
Eileen McNaughton
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #21037 from eileenmcnaughton/act_source
Fix advertised token for source
parents
2cd5e297
57ffb5b3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CRM/Core/SelectValues.php
+1
-1
1 addition, 1 deletion
CRM/Core/SelectValues.php
tests/phpunit/CRM/Contribute/ActionMapping/ByTypeTest.php
+3
-0
3 additions, 0 deletions
tests/phpunit/CRM/Contribute/ActionMapping/ByTypeTest.php
with
4 additions
and
1 deletion
CRM/Core/SelectValues.php
+
1
−
1
View file @
a70b9fa6
...
...
@@ -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'
),
...
...
This diff is collapsed.
Click to expand it.
tests/phpunit/CRM/Contribute/ActionMapping/ByTypeTest.php
+
3
−
0
View file @
a70b9fa6
...
...
@@ -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'
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment