From 1da902df0db4666ba355a56c0e4f0785955e786e Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 22 Dec 2014 12:34:26 -0800 Subject: [PATCH] api_v3_PaymentProcessorTypeTest - Change quickCleanup() to useTransaction() --- tests/phpunit/api/v3/PaymentProcessorTypeTest.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tests/phpunit/api/v3/PaymentProcessorTypeTest.php b/tests/phpunit/api/v3/PaymentProcessorTypeTest.php index 277a1d6ab8..c56bc5627a 100644 --- a/tests/phpunit/api/v3/PaymentProcessorTypeTest.php +++ b/tests/phpunit/api/v3/PaymentProcessorTypeTest.php @@ -49,16 +49,17 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase { function setUp() { parent::setUp(); + $this->useTransaction(TRUE); $this->_apiversion = 3; } - function tearDown() { - - $tablesToTruncate = array( - 'civicrm_payment_processor_type', - ); - $this->quickCleanup($tablesToTruncate); - } +// function tearDown() { +// +// $tablesToTruncate = array( +// 'civicrm_payment_processor_type', +// ); +// $this->quickCleanup($tablesToTruncate); +// } ///////////////// civicrm_payment_processor_type_add methods -- 2.25.1