Remove broken delete from customGroupCreate
authorColeman Watts <coleman@civicrm.org>
Mon, 13 May 2019 02:36:42 +0000 (22:36 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 13 May 2019 02:36:42 +0000 (22:36 -0400)
tests/phpunit/CiviTest/CiviUnitTestCase.php

index db21ca346ab6b09bfc55b17585f23ba3e64d5861..39b9811ea8a6342dfc170d6097bc7bcd13f042c6 100644 (file)
@@ -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);
   }