'civicrm_participant',
'civicrm_participant_payment',
'civicrm_pledge',
+ 'civicrm_price_set_entity',
);
$this->quickCleanup($tablesToTruncate);
CRM_Core_DAO::executeQuery("DELETE FROM civicrm_membership_status WHERE name NOT IN('New', 'Current', 'Grace', 'Expired', 'Pending', 'Cancelled', 'Deceased')");
}
function cleanUpAfterPriceSets() {
+ $this->quickCleanUpFinancialEntities();
$this->contactDelete($this->_ids['contact']);
- $this->quickCleanup(array('civicrm_price_set_entity', 'civicrm_line_item', 'civicrm_contribution', 'civicrm_membership', 'civicrm_membership_payment'));
$this->callAPISuccess('price_field_value', 'delete', array('id' => $this->_ids['price_field_value'][0]));
$this->callAPISuccess('price_field_value', 'delete', array('id' => $this->_ids['price_field_value'][1]));
$this->callAPISuccess('price_field', 'delete', array('id' => $this->_ids['price_field'][0]));
$this->callAPISuccess('price_set', 'delete', array('id' => $this->_ids['price_set']));
- $this->membershipTypeDelete(array('id' => $this->_ids['membership_type']));
}