From a6e1ef97c0e12f5cf3e929694ae59c0868f91ef6 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 22 Dec 2014 14:03:34 -0800 Subject: [PATCH] api_v3_CountryTest - Change quickCleanup() to useTransaction() --- tests/phpunit/api/v3/CountryTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/api/v3/CountryTest.php b/tests/phpunit/api/v3/CountryTest.php index 6836916e55..497db8ca01 100644 --- a/tests/phpunit/api/v3/CountryTest.php +++ b/tests/phpunit/api/v3/CountryTest.php @@ -43,10 +43,10 @@ class api_v3_CountryTest extends CiviUnitTestCase { function setUp() { $this->_apiversion = 3; parent::setUp(); - $this->quickCleanup(array('civicrm_country')); + $this->useTransaction(TRUE); $this->_params = array( 'name' => 'Made Up Land', - 'iso_code' => 'ML', + 'iso_code' => 'ZZ', 'region_id' => 1, ); } -- 2.25.1