From c8cf43a57031b504bf8ee919cf013c6e84457d85 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 13 Nov 2021 16:11:30 +1300 Subject: [PATCH] Throw spaghetti --- tests/phpunit/CiviTest/CiviUnitTestCase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index 99d197a20c..eb84ae0cc7 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -409,6 +409,7 @@ class CiviUnitTestCase extends PHPUnit\Framework\TestCase { $this->renameLabels(); $this->ensureMySQLMode(['IGNORE_SPACE', 'ERROR_FOR_DIVISION_BY_ZERO', 'STRICT_TRANS_TABLES']); + putenv('CIVICRM_SMARTY_DEFAULT_ESCAPE=1'); } /** -- 2.25.1