From f44e473b055b5d01ffc21f9662ac018828705e81 Mon Sep 17 00:00:00 2001 From: Tim Otten <totten@civicrm.org> Date: Mon, 22 Dec 2014 15:05:37 -0800 Subject: [PATCH] api_v3_APIStandardsTest - useTransaction() --- tests/phpunit/api/v3/APIStandardsTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/api/v3/APIStandardsTest.php b/tests/phpunit/api/v3/APIStandardsTest.php index ce39f7732d..176539de76 100644 --- a/tests/phpunit/api/v3/APIStandardsTest.php +++ b/tests/phpunit/api/v3/APIStandardsTest.php @@ -61,6 +61,7 @@ class api_v3_APIStandardsTest extends CiviUnitTestCase { public function setUp() { // Connect to the database parent::setUp(); + $this->useTransaction(TRUE); $this->_apiversion = 3; $this->_apiDir = "../api/v3/"; $this->_functionFiles = array('Entity.php', 'utils.php'); -- 2.25.1