$this->_apiversion = 3;
CRM_Core_PseudoConstant::activityType(TRUE, TRUE, TRUE, 'name');
parent::setUp();
+ $this->useTransaction(TRUE);
}
/**
* Test civicrm_activity_type_create()
*/
function testActivityTypeCreate() {
-
$params = array(
'weight' => '2',
'label' => 'send out letters',
* Test civicrm_activity_type_create - check id
*/
function testActivityTypecreatecheckId() {
-
$params = array(
'label' => 'type_create',
'weight' => '2',
* Test civicrm_activity_type_delete()
*/
function testActivityTypeDelete() {
-
$params = array(
'label' => 'type_create_delete',
'weight' => '2',