*/
class CRM_Utils_GlobalStackTest extends CiviUnitTestCase {
+ public function setUp(): void {
+ $this->useTransaction();
+ parent::setUp();
+ }
+
/**
* Temporarily override global variables and ensure that the variable data.
* is set as expected (before/during/after the override).
*/
class CRM_Utils_HTMLTest extends CiviUnitTestCase {
+ public function setUp(): void {
+ $this->useTransaction();
+ parent::setUp();
+ }
+
/**
* @return array
*/
public $log;
public function setUp(): void {
+ $this->useTransaction();
parent::setUp();
$this->fakeModules = [
'hooktesta',
*/
class CRM_Utils_HtmlToTextTest extends CiviUnitTestCase {
+ public function setUp(): void {
+ $this->useTransaction();
+ parent::setUp();
+ }
+
/**
* @return array
*/
protected $client;
public function setUp(): void {
+ $this->useTransaction();
parent::setUp();
$this->tmpFile = $this->createTempDir() . '/example.txt';
*/
class CRM_Utils_ICalendarTest extends CiviUnitTestCase {
+ public function setUp(): void {
+ $this->useTransaction();
+ parent::setUp();
+ }
+
/**
* @return array
*/
*/
class CRM_Utils_LazyArrayTest extends CiviUnitTestCase {
+ public function setUp(): void {
+ $this->useTransaction();
+ parent::setUp();
+ }
+
public function testAssoc() {
$l = $this->createFruitBasket();
$this->assertFalse($l->isLoaded());