X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fapi%2Fv3%2FReportTemplateTest.php;h=2fb02526511f90d98866bdc720ef0df2373cff66;hb=1fde2cb2799e9f9a55baa070584e0ee8d1360f5d;hp=5df8ae7dd0fdb6db42e120263aa037d1c5fbdb9f;hpb=e8cca51aa6ed1feb98786bd980a1395d8a9a785a;p=civicrm-core.git diff --git a/tests/phpunit/api/v3/ReportTemplateTest.php b/tests/phpunit/api/v3/ReportTemplateTest.php index 5df8ae7dd0..2fb0252651 100644 --- 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',