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:
943e353
)
api_v3_MailingGroupTest - useTransaction()
author
Tim Otten
<totten@civicrm.org>
Mon, 22 Dec 2014 23:05:38 +0000
(15:05 -0800)
committer
Tim Otten
<totten@civicrm.org>
Mon, 22 Dec 2014 23:09:14 +0000
(15:09 -0800)
tests/phpunit/api/v3/MailingGroupTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/api/v3/MailingGroupTest.php
b/tests/phpunit/api/v3/MailingGroupTest.php
index 2faf700b6a72a7baaf110958580c1f5568c59a13..c5f1b39e175d0a81dee8cae4f8b2ed1005c65b03 100644
(file)
--- a/
tests/phpunit/api/v3/MailingGroupTest.php
+++ b/
tests/phpunit/api/v3/MailingGroupTest.php
@@
-39,15
+39,12
@@
class api_v3_MailingGroupTest extends CiviUnitTestCase {
function setUp() {
parent::setUp();
+ $this->useTransaction(TRUE);
$this->_apiversion = 3;
$this->_groupID = $this->groupCreate();
$this->_email = 'test@test.test';
}
- function tearDown() {
- $this->groupDelete($this->_groupID);
- }
-
//---------- civicrm_mailing_event_subscribe methods ---------
/**