From d1e734a5ca00c9b9268359e948731ea29ab3c9b4 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 22 Dec 2014 15:05:38 -0800 Subject: [PATCH] api_v3_UtilsTest - useTransaction() --- tests/phpunit/api/v3/UtilsTest.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/phpunit/api/v3/UtilsTest.php b/tests/phpunit/api/v3/UtilsTest.php index e1de92143b..681cc1a12d 100644 --- a/tests/phpunit/api/v3/UtilsTest.php +++ b/tests/phpunit/api/v3/UtilsTest.php @@ -47,16 +47,9 @@ class api_v3_UtilsTest extends CiviUnitTestCase { */ protected function setUp() { parent::setUp(); + $this->useTransaction(TRUE); } - /** - * Tears down the fixture, for example, closes a network connection. - * This method is called after a test is executed. - * - * @access protected - */ - protected function tearDown() {} - function testAddFormattedParam() { $values = array('contact_type' => 'Individual'); $params = array('something' => 1); -- 2.25.1