Merge pull request #14239 from colemanw/haveACrack
[civicrm-core.git] / 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);
   }