Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
justinfreeman (Agileware)
Core
Commits
faacb3e4
Commit
faacb3e4
authored
11 years ago
by
eileen
Browse files
Options
Downloads
Patches
Plain Diff
CRM-12350 skip payment processor, entity tag
parent
6c23ae8c
No related branches found
Branches containing commit
No related tags found
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 {
...
@@ -140,9 +140,13 @@ class api_v3_SyntaxConformanceAllEntitiesTest extends CiviUnitTestCase {
}
}
return
$entities
;
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
)
{
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
)
{
if
(
$sequential
===
TRUE
)
{
return
$entitiesWithoutGet
;
return
$entitiesWithoutGet
;
}
}
...
@@ -217,6 +221,7 @@ class api_v3_SyntaxConformanceAllEntitiesTest extends CiviUnitTestCase {
...
@@ -217,6 +221,7 @@ class api_v3_SyntaxConformanceAllEntitiesTest extends CiviUnitTestCase {
'PledgePayment'
,
'PledgePayment'
,
'ContributionPage'
,
'ContributionPage'
,
'Phone'
,
'Phone'
,
'PaymentProcessor'
,
'MailSettings'
,
'MailSettings'
,
'Setting'
,
'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