From 66c8c25040c494823820d15ad3ed007687062b41 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 22 Dec 2014 15:05:38 -0800 Subject: [PATCH] api_v3_DomainTest - useTransaction() --- tests/phpunit/api/v3/DomainTest.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tests/phpunit/api/v3/DomainTest.php b/tests/phpunit/api/v3/DomainTest.php index 4eb428a310..3b6a7b1f8b 100644 --- a/tests/phpunit/api/v3/DomainTest.php +++ b/tests/phpunit/api/v3/DomainTest.php @@ -53,6 +53,7 @@ class api_v3_DomainTest extends CiviUnitTestCase { */ protected function setUp() { parent::setUp(); + $this->useTransaction(TRUE); // taken from form code - couldn't find good method to use $params['entity_id'] = 1; @@ -92,16 +93,6 @@ class api_v3_DomainTest extends CiviUnitTestCase { ); } - /** - * Tears down the fixture, for example, closes a network connection. - * This method is called after a test is executed. - * - * @access protected - */ - protected function tearDown() { - - } - ///////////////// civicrm_domain_get methods /** -- 2.25.1