From: Tim Otten Date: Mon, 22 Dec 2014 23:05:37 +0000 (-0800) Subject: api_v3_APIWrapperTest - useTransaction() X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0ddcaf8a556f90473eb3248aaa5712e2e7ebd477;p=civicrm-core.git api_v3_APIWrapperTest - useTransaction() --- diff --git a/tests/phpunit/api/v3/APIWrapperTest.php b/tests/phpunit/api/v3/APIWrapperTest.php index 6df7694048..fccf82598b 100644 --- a/tests/phpunit/api/v3/APIWrapperTest.php +++ b/tests/phpunit/api/v3/APIWrapperTest.php @@ -48,6 +48,7 @@ class api_v3_APIWrapperTest extends CiviUnitTestCase { */ protected function setUp() { parent::setUp(); + $this->useTransaction(TRUE); CRM_Utils_Hook_UnitTests::singleton()->setHook('civicrm_apiWrappers', array($this, 'onApiWrappers')); }