projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
api_v3_LocBlockTest - useTransaction()
[civicrm-core.git]
/
tests
/
phpunit
/
api
/
v3
/
ReportTemplateTest.php
diff --git
a/tests/phpunit/api/v3/ReportTemplateTest.php
b/tests/phpunit/api/v3/ReportTemplateTest.php
index 5df8ae7dd0fdb6db42e120263aa037d1c5fbdb9f..2fb02526511f90d98866bdc720ef0df2373cff66 100644
(file)
--- a/
tests/phpunit/api/v3/ReportTemplateTest.php
+++ b/
tests/phpunit/api/v3/ReportTemplateTest.php
@@
-40,10
+40,9
@@
class api_v3_ReportTemplateTest extends CiviUnitTestCase {
function setUp() {
parent::setUp();
+ $this->useTransaction(TRUE);
}
- function tearDown() {}
-
public function testReportTemplate() {
$result = $this->callAPISuccess('ReportTemplate', 'create', array(
'label' => 'Example Form',