projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ff069d
)
(NFC) RegionTest - Small cleanups
author
Tim Otten
<totten@civicrm.org>
Sat, 9 May 2020 02:40:08 +0000
(19:40 -0700)
committer
Tim Otten
<totten@civicrm.org>
Sat, 9 May 2020 02:40:08 +0000
(19:40 -0700)
tests/phpunit/CRM/Core/RegionTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/CRM/Core/RegionTest.php
b/tests/phpunit/CRM/Core/RegionTest.php
index 406dd6ba382f4ce48b1446d20eef72056a51c04d..3c1ef2f4c9d339fb522238864b9510dd87759421 100644
(file)
--- 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();
}
/**