From 38117a617bd77f7b4a6d77537c4b43d7c9c08c36 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 8 May 2020 19:40:08 -0700 Subject: [PATCH] (NFC) RegionTest - Small cleanups --- tests/phpunit/CRM/Core/RegionTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } /** -- 2.25.1