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
cd976ae6
Commit
cd976ae6
authored
5 years ago
by
colemanw
Browse files
Options
Downloads
Patches
Plain Diff
Extend location_type_id test to api4
parent
56e50a8b
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/EmailTest.php
+4
-2
4 additions, 2 deletions
tests/phpunit/api/v3/EmailTest.php
with
4 additions
and
2 deletions
tests/phpunit/api/v3/EmailTest.php
+
4
−
2
View file @
cd976ae6
...
...
@@ -82,9 +82,11 @@ class api_v3_EmailTest extends CiviUnitTestCase {
* If no location is specified when creating a new email, it should default to
* the LocationType default
*
* Only API v3
* @param int $version
* @dataProvider versionThreeAndFour
*/
public
function
testCreateEmailDefaultLocation
()
{
public
function
testCreateEmailDefaultLocation
(
$version
)
{
$this
->
_apiversion
=
$version
;
$params
=
$this
->
_params
;
unset
(
$params
[
'location_type_id'
]);
$result
=
$this
->
callAPIAndDocument
(
'email'
,
'create'
,
$params
,
__FUNCTION__
,
__FILE__
);
...
...
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