Skip to content
Snippets Groups Projects
Commit cd976ae6 authored by colemanw's avatar colemanw
Browse files

Extend location_type_id test to api4

parent 56e50a8b
Branches
Tags
No related merge requests found
......@@ -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__);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment