<?php
/*
+--------------------------------------------------------------------+
-| CiviCRM version 4.5 |
+| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
/**
* Test APIv3 civicrm_mailing_group_* functions
*
- * @package CiviCRM
+ * @package CiviCRM
*/
class api_v3_MailingGroupTest extends CiviUnitTestCase {
protected $_groupID;
protected $_email;
protected $_apiversion;
- function setUp() {
+ public function setUp() {
parent::setUp();
+ $this->useTransaction(TRUE);
$this->_apiversion = 3;
$this->_groupID = $this->groupCreate();
$this->_email = 'test@test.test';
}
- function tearDown() {
- $this->groupDelete($this->_groupID);
- }
-
//---------- civicrm_mailing_event_subscribe methods ---------
/**
$this->contactDelete($contactID);
}
}
-