function setUp() {
$phoneBankActivityTypeID = $this->callAPISuccessGetValue('Option_value', array('label' => 'PhoneBank', 'return' => 'value'), 'integer');
+ $this->useTransaction();
$this->enableCiviCampaign();
$this->params = array(
'title' => "survey title",
parent::setUp();
}
-/**
- * Here we clean up any test data we created.
- * Note that the quickCleanup function turns off Foreign keys first
- * so will not remove related entities
- */
- function tearDown() {
- $tablesToTruncate = array('civicrm_survey');
- $this->quickCleanup($tablesToTruncate);
- }
-
/**
* Test create function succeeds
*/