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:
48206a4
)
api_v3_APIWrapperTest - useTransaction()
author
Tim Otten
<totten@civicrm.org>
Mon, 22 Dec 2014 23:05:37 +0000
(15:05 -0800)
committer
Tim Otten
<totten@civicrm.org>
Mon, 22 Dec 2014 23:45:25 +0000
(15:45 -0800)
tests/phpunit/api/v3/APIWrapperTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/api/v3/APIWrapperTest.php
b/tests/phpunit/api/v3/APIWrapperTest.php
index 6df7694048bd23c406be7341caf3ed8000663fcb..fccf82598b34e0fe12d89d9fdd9cc6d2c102b11d 100644
(file)
--- a/
tests/phpunit/api/v3/APIWrapperTest.php
+++ b/
tests/phpunit/api/v3/APIWrapperTest.php
@@
-48,6
+48,7
@@
class api_v3_APIWrapperTest extends CiviUnitTestCase {
*/
protected function setUp() {
parent::setUp();
+ $this->useTransaction(TRUE);
CRM_Utils_Hook_UnitTests::singleton()->setHook('civicrm_apiWrappers', array($this, 'onApiWrappers'));
}