<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
function setUp() {
parent::setUp();
+ $this->useTransaction(TRUE);
$this->_individualId = $this->individualCreate();
$this->_softIndividual1Id = $this->individualCreate();
);
}
- function tearDown() {
- $this->quickCleanup(array(
- 'civicrm_contribution',
- 'civicrm_event',
- 'civicrm_contribution_page',
- 'civicrm_participant',
- 'civicrm_participant_payment',
- 'civicrm_line_item',
- 'civicrm_financial_trxn',
- 'civicrm_financial_item',
- 'civicrm_entity_financial_trxn',
- 'civicrm_contact',
- 'civicrm_contribution_soft'
- ));
- }
-
/**
- * test get methods
+ * Test get methods
* @todo - this might be better broken down into more smaller tests
*/
function testGetContributionSoft() {