X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FCRM%2FCore%2FRegionTest.php;h=3c1ef2f4c9d339fb522238864b9510dd87759421;hb=c67a59391d975837bfe40d1d6014b1ed91b72b73;hp=406dd6ba382f4ce48b1446d20eef72056a51c04d;hpb=2efe239ba80ed985fa2c0aff5b2a4023670a5859;p=civicrm-core.git diff --git a/tests/phpunit/CRM/Core/RegionTest.php b/tests/phpunit/CRM/Core/RegionTest.php index 406dd6ba38..3c1ef2f4c9 100644 --- a/tests/phpunit/CRM/Core/RegionTest.php +++ b/tests/phpunit/CRM/Core/RegionTest.php @@ -8,12 +8,12 @@ class CRM_Core_RegionTest extends CiviUnitTestCase { public function setUp() { parent::setUp(); - require_once 'CRM/Core/Smarty.php'; - require_once 'CRM/Core/Region.php'; // Templates injected into regions should normally be file names, but for unit-testing it's handy to use "string:" notation require_once 'CRM/Core/Smarty/resources/String.php'; civicrm_smarty_register_string_resource(); + + $this->useTransaction(); } /**