From bdd3d7623dcb0a73ac96c9147a6b53ab6c02e838 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 22 Dec 2014 15:05:38 -0800 Subject: [PATCH] api_v3_CustomSearchTest - useTransaction() --- tests/phpunit/api/v3/CustomSearchTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/phpunit/api/v3/CustomSearchTest.php b/tests/phpunit/api/v3/CustomSearchTest.php index fe190a1924..55baa300ae 100644 --- a/tests/phpunit/api/v3/CustomSearchTest.php +++ b/tests/phpunit/api/v3/CustomSearchTest.php @@ -11,10 +11,9 @@ class api_v3_CustomSearchTest extends CiviUnitTestCase { function setUp() { $this->_apiversion = 3; parent::setUp(); + $this->useTransaction(TRUE); } - function tearDown() {} - public function testCustomSearch() { $result = $this->callAPISuccess('CustomSearch', 'create', array( 'label' => 'Invalid, overwritten', -- 2.25.1