public $noise;
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
$this->assertDBQuery(0, "SELECT count(*) FROM civicrm_contact WHERE first_name='Jeffrey' and last_name='Lebowski'");
// Create noise to ensure we don't accidentally/coincidentally match the first record
* Set up for tests.
*/
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
public function testAsColumns() {
public $foo;
protected function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
public function testAutoclean() {
class CRM_Utils_Check_Component_EnvTest extends CiviUnitTestCase {
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
/**
class CRM_Utils_Check_Component_OptionGroupsTest extends CiviUnitTestCase {
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
public function testCheckOptionGroupValues() {
class CRM_Utils_ColorTest extends CiviUnitTestCase {
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
/**
* Set up for tests.
*/
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
/**
class CRM_Utils_HTMLTest extends CiviUnitTestCase {
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
/**
public $hook;
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
$this->fakeModules = [
'hooktesta',
'hooktestb',
class CRM_Utils_HtmlToTextTest extends CiviUnitTestCase {
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
/**
protected $client;
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
$this->tmpFile = $this->createTempDir() . '/example.txt';
class CRM_Utils_ICalendarTest extends CiviUnitTestCase {
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
/**
* Set up for tests.
*/
public function setUp(): void {
- $this->useTransaction();
parent::setUp();
+ $this->useTransaction();
}
/**