* Set up for tests.
*/
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
/**
class CRM_Contact_BAO_RelationshipCacheTest extends CiviUnitTestCase {
protected function setUp(): void {
- $this->useTransaction(TRUE);
parent::setUp();
+ $this->useTransaction(TRUE);
}
/**
protected $originalRequest = [];
public function setUp(): void {
- $this->useTransaction(TRUE);
parent::setUp();
+ $this->useTransaction(TRUE);
$this->originalRequest = $_REQUEST;
}
protected $fixtures;
public function setUp(): void {
- $this->useTransaction(TRUE);
parent::setUp();
+ $this->useTransaction(TRUE);
$this->modules = [
'one' => new CRM_Core_Module('com.example.one', TRUE),
'two' => new CRM_Core_Module('com.example.two', TRUE),
protected $fromEmailAddressOptions = [];
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
/**
use CRMTraits_Profile_ProfileTrait;
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
/**
class CRM_Financial_BAO_FinancialAccountTest extends CiviUnitTestCase {
public function setUp(): void {
- $this->useTransaction(TRUE);
parent::setUp();
+ $this->useTransaction(TRUE);
$this->organizationCreate();
}
private $_mut;
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
CRM_Mailing_BAO_MailingJob::$mailsProcessed = 0;
$this->_groupID = $this->groupCreate();
protected $workDir;
public function setUp(): void {
- $this->useTransaction(TRUE);
parent::setUp();
+ $this->useTransaction(TRUE);
$this->workDir = tempnam(sys_get_temp_dir(), 'mailstoretest');
@unlink($this->workDir);
}
class CRM_Mailing_TokensTest extends \CiviUnitTestCase {
protected function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
$this->callAPISuccess('mail_settings', 'get',
['api.mail_settings.create' => ['domain' => 'chaos.org']]);
}