*/
class CRM_Utils_Mail_FilteredPearMailerTest extends CiviUnitTestCase {
+ public function setUp(): void {
+ $this->useTransaction();
+ parent::setUp();
+ }
+
public function testFilter() {
$mock = new class() extends \Mail {
public $buf = [];
protected $name;
public function setUp(): void {
+ $this->useTransaction();
parent::setUp();
$rand = rand(0, 1000);
*/
class CRM_Utils_MailTest extends CiviUnitTestCase {
+ public function setUp(): void {
+ $this->useTransaction();
+ parent::setUp();
+ }
+
/**
* Test case for add( )
* test with empty params.
*/
class CRM_Utils_MoneyTest extends CiviUnitTestCase {
+ public function setUp(): void {
+ $this->useTransaction();
+ parent::setUp();
+ }
+
/**
* @dataProvider subtractCurrenciesDataProvider
* @param string $leftOp
*/
class CRM_Utils_NumberTest extends CiviUnitTestCase {
+ public function setUp(): void {
+ $this->useTransaction();
+ parent::setUp();
+ }
+
/**
* @return array
*/
*/
class CRM_Utils_PDF_UtilsTest extends CiviUnitTestCase {
+ public function setUp(): void {
+ $this->useTransaction();
+ parent::setUp();
+ }
+
/**
* Test user-supplied settings for DOMPDF
*/