From: Tim Otten Date: Mon, 22 Dec 2014 23:05:37 +0000 (-0800) Subject: api_v3_APITest - useTransaction() X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=48206a40d469d521d66194f7c2c42dcd83fc7816;p=civicrm-core.git api_v3_APITest - useTransaction() --- diff --git a/tests/phpunit/api/v3/APITest.php b/tests/phpunit/api/v3/APITest.php index 32fb1bc43b..95f5abb8cd 100644 --- a/tests/phpunit/api/v3/APITest.php +++ b/tests/phpunit/api/v3/APITest.php @@ -36,27 +36,8 @@ require_once 'CiviTest/CiviUnitTestCase.php'; class api_v3_APITest extends CiviUnitTestCase { public $DBResetRequired = FALSE; - protected $_apiversion =3; - /** - * Sets up the fixture, for example, opens a network connection. - * This method is called before a test is executed. - * - * @access protected - */ - protected function setUp() { - parent::setUp(); - } - - /** - * 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 testAPIReplaceVariables() { $result = array(); $result['testfield'] = 6;