api_v3_APIStandardsTest - useTransaction()
authorTim Otten <totten@civicrm.org>
Mon, 22 Dec 2014 23:05:37 +0000 (15:05 -0800)
committerTim Otten <totten@civicrm.org>
Mon, 22 Dec 2014 23:45:25 +0000 (15:45 -0800)
tests/phpunit/api/v3/APIStandardsTest.php

index ce39f7732dac90d12d35ff8f7ded7f977edcb5a2..176539de7675bb96126ff1b4911816ed0e2ca6e6 100644 (file)
@@ -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');