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
faacb3e4
Commit
faacb3e4
authored
12 years ago
by
eileen
Browse files
Options
Downloads
Patches
Plain Diff
CRM-12350 skip payment processor, entity tag
parent
6c23ae8c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/phpunit/api/v3/SyntaxConformanceAllEntitiesTest.php
+7
-2
7 additions, 2 deletions
tests/phpunit/api/v3/SyntaxConformanceAllEntitiesTest.php
with
7 additions
and
2 deletions
tests/phpunit/api/v3/SyntaxConformanceAllEntitiesTest.php
+
7
−
2
View file @
faacb3e4
...
...
@@ -140,9 +140,13 @@ class api_v3_SyntaxConformanceAllEntitiesTest extends CiviUnitTestCase {
}
return
$entities
;
}
/**
* Generate list of entities to test for get by id functions
* @param boolean $sequential
* @return multitype:string |multitype:multitype:string
*/
public
static
function
toBeSkipped_automock
(
$sequential
=
FALSE
)
{
$entitiesWithoutGet
=
array
(
'Participant'
,
'ParticipantPayment'
,
'Setting'
,
'SurveyRespondant'
,
'MailingRecipients'
,
'CustomSearch'
,
'Extension'
,
'ReportTemplate'
,
'System'
);
$entitiesWithoutGet
=
array
(
'EntityTag'
,
'Participant'
,
'ParticipantPayment'
,
'Setting'
,
'SurveyRespondant'
,
'MailingRecipients'
,
'CustomSearch'
,
'Extension'
,
'ReportTemplate'
,
'System'
);
if
(
$sequential
===
TRUE
)
{
return
$entitiesWithoutGet
;
}
...
...
@@ -217,6 +221,7 @@ class api_v3_SyntaxConformanceAllEntitiesTest extends CiviUnitTestCase {
'PledgePayment'
,
'ContributionPage'
,
'Phone'
,
'PaymentProcessor'
,
'MailSettings'
,
'Setting'
,
);
...
...
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