From: Coleman Watts Date: Mon, 13 May 2019 02:36:42 +0000 (-0400) Subject: Remove broken delete from customGroupCreate X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=932c5fb555dfda79ef5ea788e0c0019965ac96e3;p=civicrm-core.git Remove broken delete from customGroupCreate --- diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index db21ca346a..39b9811ea8 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -1357,12 +1357,6 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase { $params = array_merge($defaults, $params); - //have a crack @ deleting it first in the hope this will prevent derailing our tests - $this->callAPISuccess('custom_group', 'get', array( - 'title' => $params['title'], - array('api.custom_group.delete' => 1), - )); - return $this->callAPISuccess('custom_group', 'create', $params); }