From 7fbf2107d4332a8155acaf7b8ae9f1789541709b 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 563c97da8e5c..7bfcb6259075 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -408,6 +408,7 @@ protected function setUp(): void { $this->renameLabels(); $this->ensureMySQLMode(['IGNORE_SPACE', 'ERROR_FOR_DIVISION_BY_ZERO', 'STRICT_TRANS_TABLES']); + define('CIVICRM_SMARTY_DEFAULT_ESCAPE', TRUE); } /**