projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce062e0
)
api_v3_CountryTest - Change quickCleanup() to useTransaction()
author
Tim Otten
<totten@civicrm.org>
Mon, 22 Dec 2014 22:03:34 +0000
(14:03 -0800)
committer
Tim Otten
<totten@civicrm.org>
Mon, 22 Dec 2014 22:07:45 +0000
(14:07 -0800)
tests/phpunit/api/v3/CountryTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/api/v3/CountryTest.php
b/tests/phpunit/api/v3/CountryTest.php
index 6836916e55453cef86d7784ebc2c5325b7c1ff53..497db8ca01ef00fcb7eaeb5c61e1dba57f8b5d02 100644
(file)
--- 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,
);
}