From 0ddcaf8a556f90473eb3248aaa5712e2e7ebd477 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 22 Dec 2014 15:05:37 -0800 Subject: [PATCH] api_v3_APIWrapperTest - useTransaction() --- tests/phpunit/api/v3/APIWrapperTest.php | 1 + 1 file changed, 1 insertion(+) 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')); } -- 2.25.1