Skip to content

Commit

Permalink
Merge pull request #14239 from colemanw/haveACrack
Browse files Browse the repository at this point in the history
Remove broken delete from customGroupCreate
  • Loading branch information
seamuslee001 authored May 13, 2019
2 parents ca409c4 + 932c5fb commit f3171f1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/phpunit/CiviTest/CiviUnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -1357,12 +1357,6 @@ public function customGroupCreate($params = array()) {

$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);
}

Expand Down

0 comments on commit f3171f1

Please sign in to comment.